Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-02-06 | libcnary: Updated typedefs of node_t and node_list_t to contain pointer | Nikias Bassen | 4 | -65/+77 | |
This makes the code more readable. Obviously all the code that uses it is also updated. | |||||
2021-01-25 | Replace malloc + memset with calloc where appropriate | Rosen Penev | 2 | -6/+4 | |
calloc is faster for big allocations. It's also simpler. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-06-09 | Unfold automake variables into multiple lines for maintainability | Martin Szulecki | 1 | -7/+10 | |
2020-06-08 | Remove whitespace errors from all files | Martin Szulecki | 1 | -1/+1 | |
2019-09-03 | libcnary: [BUGFIX] Set list->end to NULL when removing last and only element ↵ | Nikias Bassen | 1 | -0/+2 | |
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. | |||||
2019-01-21 | libcnary: Remove list.c/list.h and just do everything in node_list.c | Nikias Bassen | 4 | -94/+6 | |
2018-12-10 | Remove node_iterator and operate on node list directly to improve memory usage | Nikias Bassen | 6 | -254/+1 | |
2018-11-28 | libcnary: Remove redundant members from node_t struct | Nikias Bassen | 2 | -32/+17 | |
2018-07-24 | libcnary: Fix memleak in node_debug() | Bastien Nocera | 1 | -0/+1 | |
An iter was created but never destroyed. | |||||
2017-03-28 | libcnary: Remove unused 'node' parameter from node_list_create() | Nikias Bassen | 3 | -3/+3 | |
2016-11-10 | libcnary: Fix possible NULL pointer dereference in node_iterator_create() | Nikias Bassen | 1 | -1/+1 | |
When NULL is passed to node_iterator_create() the code tries to access the begin element of the node list and causes a NULL pointer dereference. The value of list is checked a few lines down and iterator->value is then properly assigned in node_iterator_bind(). | |||||
2014-05-20 | Rename "index" variable as it shadows global declaration on older systems | Martin Szulecki | 2 | -17/+17 | |
2014-02-13 | fix make distcheck | Nikias Bassen | 1 | -1/+1 | |
2013-12-13 | libcnary: silence two compiler warnings | Nikias Bassen | 1 | -2/+2 | |
2013-12-13 | change build system to autotools | Nikias Bassen | 3 | -37/+18 | |
2012-04-24 | libcnary: return removed/detached index in node_list_remove/node_detach | Nikias Bassen | 2 | -4/+7 | |
2012-01-12 | libcnary: fix missing return value and missing variable initialization | Nikias Bassen | 1 | -2/+2 | |
2012-01-11 | node_list: Fix memory corruption | Nikias Bassen | 1 | -1/+7 | |
The corruption occured if you removed the last node from the list and later add a new node to the list. | |||||
2011-06-25 | Updates libcnary sources (adding license info) | Nikias Bassen | 13 | -0/+694 | |
2011-06-13 | Bundle libcnary for better packaging1.5 | Nikias Bassen | 15 | -0/+760 | |
2011-06-13 | Remove libcnary submodule | Nikias Bassen | 1 | -0/+0 | |
2011-05-27 | Add submodule libcnary | Nikias Bassen | 1 | -0/+0 | |