- 09 Jun, 2020 2 commits
-
-
Martin Szulecki authored
-
Nikias Bassen authored
-
- 08 Jun, 2020 2 commits
-
-
Martin Szulecki authored
-
Nikias Bassen authored
-
- 03 Jun, 2020 4 commits
-
-
Rosen Penev authored
[clang-tidy]Found with hicpp-deprecated-headers Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
[clang-tidy] Found with readability-redundant-member-init Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
[clang-tidy] Found with google-readability-namespace-comments Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
[clang-tidy] Found with readability-redundant-control-flow Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 26 May, 2020 1 commit
-
-
Nikias Bassen authored
-
- 24 May, 2020 1 commit
-
-
Xiao Deng authored
This will prevent an assert if a NULL pointer is passed, and can make writing some code easier and cleaner without the need for a NULL check. For example, plist_copy(plist_dict_get_item(dict, "abc")) would give us a copy of the dict's node if the dict has a value for the given key, or NULL without any further checks.
-
- 21 May, 2020 1 commit
-
-
Nikias Bassen authored
-
- 14 May, 2020 2 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
- 11 May, 2020 3 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
... except container node types like PLIST_ARRAY or PLIST_DICT.
-
- 22 Apr, 2020 1 commit
-
-
Derrick Lyndon Pallas authored
In ctime64_r, the call to localtime64_r can fail. If we don't check for this and then call asctime64_r, the results are garbage. Signed-off-by:
Derrick Lyndon Pallas <derrick@pallas.us>
-
- 09 Dec, 2019 4 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
XD authored
This improves performance by at least 30% for large files, and also reduces the memory footprint.
-
XD authored
-
- 07 Nov, 2019 4 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
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
-
- 13 Aug, 2019 1 commit
-
-
Xiao Deng authored
-
- 09 Aug, 2019 1 commit
-
-
Nikias Bassen authored
As mentioned in #142, plist_copy_node() was not correctly handling the hash tables when cloning array or dict nodes; it incorrectly filled the hash table with the original child node info, which effectively would lead to a segmentation fault / UaF if the original array/dict would be freed followed by an attempt to access an element in the new hash table.
-
- 07 Jul, 2019 1 commit
-
-
Alexander Böhn authored
... and const versions of three member functions, each returning const_iterator: * Plist::Dictionary::Begin() * PList::Dictionary::End() * PList::Dictionary::Find()
-
- 26 Jun, 2019 1 commit
-
-
tihmstar authored
Bug: when creating a new Dictionary object (for example through PList::Node::FromPlist(plist_t node) ), the dictionary_fill function is called from Dictionary() constructor in line 50. It seems that the intended way of calling dictionary_fill() is to pass the _map object by reference, however it is actually passed by value. Thus the changes to the map object made by dictionary_fill() are discarded when the function returns. Fix: pass _map by reference to keep the changes
-
- 19 May, 2019 2 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
- 18 May, 2019 3 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
-
Nikias Bassen authored
-
- 16 May, 2019 1 commit
-
-
Nikias Bassen authored
Also fixes #126 by skipping the strlen() in the assert() if for some reason NULL is returned as data
-
- 11 May, 2019 1 commit
-
-
Julien Lavergne authored
-
- 21 Jan, 2019 3 commits
-
-
Nikias Bassen authored
-
Nikias Bassen authored
Similar to #PLIST_DICT, an iterator can now be used for #PLIST_ARRAY nodes. Get an iterator with plist_array_new_iter() and use plist_array_next_item() to iterate over the elements.
-
Nikias Bassen authored
-
- 18 Jan, 2019 1 commit
-
-
Nikias Bassen authored
-