diff options
author | Nikias Bassen | 2016-11-10 02:51:54 +0100 |
---|---|---|
committer | Nikias Bassen | 2016-11-10 02:51:54 +0100 |
commit | 52f3a565deca246e0a331f4a014178c3f6927f31 (patch) | |
tree | 058463dd9cf789546b90fe4078545bec22231577 /src/hashtable.c | |
parent | ad1a95e96218e411b4dbde38c002fc5f4b530a65 (diff) | |
download | libplist-52f3a565deca246e0a331f4a014178c3f6927f31.tar.gz libplist-52f3a565deca246e0a331f4a014178c3f6927f31.tar.bz2 |
libcnary: Fix possible NULL pointer dereference in node_iterator_create()
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().
Diffstat (limited to 'src/hashtable.c')
0 files changed, 0 insertions, 0 deletions