1. 09 Jun, 2020 2 commits
  2. 08 Jun, 2020 2 commits
  3. 03 Jun, 2020 4 commits
  4. 26 May, 2020 1 commit
  5. 24 May, 2020 1 commit
    • Xiao Deng's avatar
      Return NULL from plist_copy() if passed a NULL pointer · ea5b54b4
      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.
      ea5b54b4
  6. 21 May, 2020 1 commit
  7. 14 May, 2020 2 commits
  8. 11 May, 2020 3 commits
  9. 22 Apr, 2020 1 commit
  10. 09 Dec, 2019 4 commits
  11. 07 Nov, 2019 4 commits
  12. 13 Aug, 2019 1 commit
  13. 09 Aug, 2019 1 commit
    • Nikias Bassen's avatar
      Make sure to copy hash table entries properly when cloning array/dict nodes · e1a5d60e
      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.
      e1a5d60e
  14. 07 Jul, 2019 1 commit
    • Alexander Böhn's avatar
      Add PList::Dictionary::const_iterator · 7d6b42c9
      Alexander Böhn authored
      ... and const versions of three member functions, each returning const_iterator:
      * Plist::Dictionary::Begin()
      * PList::Dictionary::End()
      * PList::Dictionary::Find()
      7d6b42c9
  15. 26 Jun, 2019 1 commit
    • tihmstar's avatar
      Fixed bug in dictionary_fill · ec957fb8
      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
      ec957fb8
  16. 19 May, 2019 2 commits
  17. 18 May, 2019 3 commits
  18. 16 May, 2019 1 commit
  19. 11 May, 2019 1 commit
  20. 21 Jan, 2019 3 commits
  21. 18 Jan, 2019 1 commit