]> git.puffer.fish Git - mirror/frr.git/commit
isisd: resolve possible null pointer dereference 2095/head
authorIlya Shipitsin <chipitsine@gmail.com>
Thu, 12 Apr 2018 18:23:21 +0000 (23:23 +0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 23 Apr 2018 23:24:52 +0000 (19:24 -0400)
commit4241b8ec2ddc5e78a2e5bf2a4ad9ffdfba8b2312
tree1a05c90baa253112701e5bf08f07f77808bf9d6c
parentff1821aeb4465533054e8d948f61f1fb2a9e8eda
isisd: resolve possible null pointer dereference

issue found by cppcheck

[isisd/dict.c:1320] -> [isisd/dict.c:1065]:
(warning) Either the condition '!dn' is redundant or
there is possible null pointer dereference: newnode.

[isisd/dict.c:1320] -> [isisd/dict.c:1068]:
(warning) Either the condition '!dn' is redundant or
there is possible null pointer dereference: newnode.

Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
isisd/dict.c