]> git.puffer.fish Git - mirror/frr.git/commit
pimd: harden MLD code loop boundaries
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 21 Apr 2023 13:14:43 +0000 (15:14 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 21 Apr 2023 13:30:43 +0000 (15:30 +0200)
commitac4304d0fad0ac24931457643fe881c393c97473
tree7ade7a60aa7dd12a1aa59575508228d9a04fdd09
parent4dbef8567bda06418e8d1aeb566aab4d2593a65e
pimd: harden MLD code loop boundaries

Coverity complains about these being tainted/untrusted loop boundaries.
The way the code works, it's counting up groups/sources, but keeps
checking against remaining data length in the packet - which is
perfectly fine IMHO.  Except Coverity doesn't understand it :(

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