]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: fix null pointer dereference when parsing LSP
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 3 Dec 2020 15:19:06 +0000 (12:19 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 9 Dec 2020 15:21:33 +0000 (12:21 -0300)
commitdf2c1f3d4219404ad9e0a327e6d106022f4c4e71
tree42b74c5322c47ec4ec320300f0797dd842959aa1
parente386d2b15419382d3cf00a6cd986fbdc723b48f5
isisd: fix null pointer dereference when parsing LSP

In some extraordinary circumstances an LSP might not have any
TLV. Add a null check to prevent a crash when that happens.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_tlvs.c