• Filippo Bigarella's avatar
    xplist: Prevent UaF when parsing structured nodes fails · 17b8e01b
    Filippo Bigarella authored
    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.
    17b8e01b
Name
Last commit
Last update
cython Loading commit data...
include Loading commit data...
libcnary Loading commit data...
m4 Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
doxygen.cfg.in Loading commit data...