]> git.puffer.fish Git - mirror/frr.git/commit
isisd: don't overrun list of protocols
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 8 May 2012 11:32:53 +0000 (13:32 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 25 Oct 2012 17:15:59 +0000 (10:15 -0700)
commit655071f44aab42e89bcece3a93da456fdd0d913a
tree85c195b18df1d6e64c59a5193791d2ae7333c4a0
parent80a21dc60fa007bb00437fdc047c3e059232639f
isisd: don't overrun list of protocols

isisd currently has a list of supported protocols as a fixed array of
size 4.  this can be overran, leading to an overwrite of the ipv4_addrs
pointer.

  * isisd/isis_pdu.c: don't accept more protocols than there's space for

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
isisd/isis_pdu.c