summaryrefslogtreecommitdiffstats
path: root/fuzz/bplist-leaks/leak-acb3c00a83d7635638a476a4e70fc1f1caa1a5b1
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-02-05 13:42:23 +0100
committerGravatar Nikias Bassen2023-02-05 13:42:23 +0100
commit52826a6c229ed3e353d4dae711a6c52a96d99764 (patch)
treebbff0a7bbea4e62f7646174ee245e5950b4b0d30 /fuzz/bplist-leaks/leak-acb3c00a83d7635638a476a4e70fc1f1caa1a5b1
parent706771e357570d1bee268fc7c2233506da967bcd (diff)
downloadlibplist-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 'fuzz/bplist-leaks/leak-acb3c00a83d7635638a476a4e70fc1f1caa1a5b1')
0 files changed, 0 insertions, 0 deletions