diff options
author | Nikias Bassen | 2023-02-05 13:42:23 +0100 |
---|---|---|
committer | Nikias Bassen | 2023-02-05 13:42:23 +0100 |
commit | 52826a6c229ed3e353d4dae711a6c52a96d99764 (patch) | |
tree | bbff0a7bbea4e62f7646174ee245e5950b4b0d30 /docs/plistutil.1 | |
parent | 706771e357570d1bee268fc7c2233506da967bcd (diff) | |
download | libplist-52826a6c229ed3e353d4dae711a6c52a96d99764.tar.gz libplist-52826a6c229ed3e353d4dae711a6c52a96d99764.tar.bz2 |
Fix plist_sort() by swapping the nodes in the tree instead of their data
The problem was that we swapped potential child node data between nodes,
but their parents would not be updated that way, leading to double frees
or segmentation faults when freeing a plist. This commit instead fixes this
by swapping the actual nodes in the tree.
Diffstat (limited to 'docs/plistutil.1')
0 files changed, 0 insertions, 0 deletions