diff options
author | Avneesh Sachdev <avneesh@opensourcerouting.org> | 2012-05-05 23:50:30 -0700 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2012-10-25 10:15:59 -0700 |
commit | a22ab5a560c7a46f6ecc6feb874c0dbbde9699c6 (patch) | |
tree | 0f2eb80dc14b21ef14e0de45e1f32d581c7186c0 /lib/stream.c | |
parent | 4effc29fb1c33a87a8d386de39c20d36a6956645 (diff) |
isisd: tighten checks on ISIS pdu length
* isisd/isis_pdu.c: Fix problem where isisd would crash if it
received a LAN IIH with the 'pdu length' field set to zero.
Similar problems can occur in parsing other ISIS PDUs as well --
check that the PDU length in an ISIS hello, LSP or SNP packet is
at least as big as the size of the respective fixed header.
Diffstat (limited to 'lib/stream.c')
0 files changed, 0 insertions, 0 deletions