summaryrefslogtreecommitdiffstats
path: root/fuzz/bplist-crashes/crash-39f1347115f8fe9ac25cdc9332e3fc5cd32c7f7b
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-crashes/crash-39f1347115f8fe9ac25cdc9332e3fc5cd32c7f7b
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-crashes/crash-39f1347115f8fe9ac25cdc9332e3fc5cd32c7f7b')
0 files changed, 0 insertions, 0 deletions