summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorGravatar Filippo Bigarella2016-10-31 02:52:01 +0100
committerGravatar Nikias Bassen2016-10-31 02:52:01 +0100
commit17b8e01bdfbdb38a2aec5cce0554b72bd37ee6ce (patch)
tree77b8116f67c80cd124053f1f39461e834de4bc29 /COPYING
parent0be2a22a6504635bb89d4fe4402a9dbe851898d4 (diff)
downloadlibplist-17b8e01bdfbdb38a2aec5cce0554b72bd37ee6ce.tar.gz
libplist-17b8e01bdfbdb38a2aec5cce0554b72bd37ee6ce.tar.bz2
xplist: Prevent UaF when parsing structured nodes failstime64
In case parsing inside `node_from_xml` called from line 842 fails, `data` gets freed by the call to `plist_free` at line 899, since `subnode` is actually created by making it point to `data` at line 684. This commit prevents this situation by bailing out whenever parsing in a deeper level of structured nodes fails.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions