]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: tighten checks on ISIS pdu length
authorAvneesh Sachdev <avneesh@opensourcerouting.org>
Sun, 6 May 2012 06:50:30 +0000 (23:50 -0700)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 25 Oct 2012 17:15:59 +0000 (10:15 -0700)
commita22ab5a560c7a46f6ecc6feb874c0dbbde9699c6
tree0f2eb80dc14b21ef14e0de45e1f32d581c7186c0
parent4effc29fb1c33a87a8d386de39c20d36a6956645
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.
isisd/isis_pdu.c