- 07 Nov, 2019 2 commits
-
-
Nikias Bassen authored
Add plist_to_bin_free() and plist_to_xml_free() functions that free memory allocated by plist_to_bin()/plist_to_xml()
-
Nikias Bassen authored
-
- 21 Jan, 2019 1 commit
-
-
Nikias Bassen authored
-
- 17 Dec, 2018 1 commit
-
-
Nikias Bassen authored
Now that we grow the output buffer enough before writing XML output we can just write the base64 encoded data directly to the ouput buffer instead of using a heap buffer that will then be copied to the output buffer. This makes writing XML output more memory efficient (and slightly faster).
-
- 14 Dec, 2018 1 commit
-
-
Nikias Bassen authored
-
- 13 Dec, 2018 1 commit
-
-
Nikias Bassen authored
-
- 11 Dec, 2018 1 commit
-
-
Nikias Bassen authored
-
- 10 Dec, 2018 2 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
- 04 Sep, 2018 1 commit
-
-
Nikias Bassen authored
This should only happen due to misuse of the library, e.g. when calling plist_free() on a node that is a value node in a PLIST_DICT without properly removing the dictionary entry (key/value pair) and then calling plist_to_xml() on that dictionary.
-
- 25 Jul, 2018 1 commit
-
-
Bastien Nocera authored
-
- 02 Apr, 2017 1 commit
-
-
Nikias Bassen authored
Credit to OSS-Fuzz
-
- 29 Mar, 2017 2 commits
-
-
Nikias Bassen authored
Credit to OSS-Fuzz
-
Nikias Bassen authored
Credit to OSS-Fuzz
-
- 15 Feb, 2017 1 commit
-
-
Nikias Bassen authored
Instead of letting the buffer grow by just the amount of bytes currently transformed to base64 - which is basically line by line - we now calculate the size of the output blob in advance and grow the buffer accordingly. This will reduce the amount of reallocs to just one, which is especially important for large data blobs. While this is a general improvement for all platforms, it is on platforms like Windows where realloc() can be REALLY slow; converting a 20mb blob to XML can easily take up to a minute (due to the several hundred thousand calls to realloc()). With this commit, it will be fast again.
-
- 09 Feb, 2017 2 commits
-
-
Nikias Bassen authored
Credit to OSS-Fuzz
-
Nikias Bassen authored
Credit to OSS-Fuzz
-
- 08 Feb, 2017 1 commit
-
-
Nikias Bassen authored
-
- 07 Feb, 2017 9 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
- 06 Feb, 2017 1 commit
-
-
Nikias Bassen authored
-
- 03 Jan, 2017 1 commit
-
-
Nikias Bassen authored
-
- 01 Jan, 2017 6 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
'</key >' is a perfectly valid closing tag and so is '</key >' (note the newline). This commit will make the parser skip any encountered whitespace before checking for the closing '>'.
-
Nikias Bassen authored
-
- 21 Dec, 2016 3 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
- 14 Dec, 2016 2 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-