]> git.puffer.fish Git - mirror/frr.git/commit
lib: Set pointer to NULL after free
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 25 Sep 2017 19:41:28 +0000 (15:41 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 25 Sep 2017 19:41:28 +0000 (15:41 -0400)
commit1a0a92ea3b8c1b1caf57543826c7d16fa389c418
tree6f484466119af614970e008d4c1b054382044e03
parent5176f7b7135f412eee4b6c2240e851c642e8bd8c
lib: Set pointer to NULL after free

list_delete does not set the list pointer to NULL
Thus when we accidently use it later we happily write
off into lala land instead of crashing imediately

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/thread.c