]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: fix misplaced braces/logic error
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 25 Jun 2024 12:37:27 +0000 (14:37 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 26 Jun 2024 14:15:13 +0000 (16:15 +0200)
commit163a3f582f671b1ac4a0c21cb97da341c756ed2e
treee2fbda2cbdbf59ead2dd696988740570e158ea84
parentaeeceef618c454ec40c196fc2c08dfe3329ec3dd
pimd: fix misplaced braces/logic error

The `!rp_info ||` check got added during a cleanup pass.  Unfortunately
the braces/and/or combination is not correct :(

Fixes: b1945363fbf ("pimd: Various buffer overflow reads and crashes")
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
pimd/pim_rp.c