summaryrefslogtreecommitdiffstats
path: root/libcnary/Makefile.am
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-09-03 01:16:03 +0200
committerGravatar Nikias Bassen2019-09-03 01:21:05 +0200
commit6a53de92e2b5029ee293c79d481ff5fd9528f8c3 (patch)
treec7d1f351abade12f9ff3a27ddd9808afcb6788b0 /libcnary/Makefile.am
parent025d042c6228ab41832bcb3ebbae070a76033a4c (diff)
downloadlibplist-6a53de92e2b5029ee293c79d481ff5fd9528f8c3.tar.gz
libplist-6a53de92e2b5029ee293c79d481ff5fd9528f8c3.tar.bz2
libcnary: [BUGFIX] Set list->end to NULL when removing last and only element from list
This prevents a UaF in node_list_add. The issue became visible after removing the last (and only) item from a PLIST_DICT or PLIST_ARRAY node, and then adding a new item - the item will not make it into the actual dictionary or array because the list->end pointer points to invalid memory, effectively causing memory corruption.
Diffstat (limited to 'libcnary/Makefile.am')
0 files changed, 0 insertions, 0 deletions