commit | 6a53de92e2b5029ee293c79d481ff5fd9528f8c3 | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Tue Sep 03 01:16:03 2019 +0200 |
committer | Nikias Bassen <nikias@gmx.li> | Tue Sep 03 01:21:05 2019 +0200 |
tree | c7d1f351abade12f9ff3a27ddd9808afcb6788b0 | |
parent | 025d042c6228ab41832bcb3ebbae070a76033a4c [diff] |
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.
A small portable C library to handle Apple Property List files in binary or XML.
Software:
Optional:
To compile run:
./autogen.sh make sudo make install
If you require a custom prefix or other option being passed to ./configure
you can pass them directly to ./autogen.sh
like this:
./autogen.sh --prefix=/opt/local --without-cython make sudo make install
git clone https://git.libimobiledevice.org/libplist.git
git clone https://github.com/libimobiledevice/libplist.git
Apple, iPhone, iPod, and iPod Touch are trademarks of Apple Inc. libimobiledevice is an independent software library and has not been authorized, sponsored, or otherwise approved by Apple Inc.
README Updated on: 2019-05-16