commit | 52f3a565deca246e0a331f4a014178c3f6927f31 | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Thu Nov 10 02:51:54 2016 +0100 |
committer | Nikias Bassen <nikias@gmx.li> | Thu Nov 10 02:51:54 2016 +0100 |
tree | 058463dd9cf789546b90fe4078545bec22231577 | |
parent | ad1a95e96218e411b4dbde38c002fc5f4b530a65 [diff] |
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().