]> git.proxmox.com Git - mirror_frr.git/commit
lib/clippy: fix symbol validity check
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 6 Jan 2023 16:05:25 +0000 (17:05 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 6 Jan 2023 16:05:25 +0000 (17:05 +0100)
commita185874504654a691aa7c204b87ee2f9e3b8a49a
tree756eb9f1df59e4e3be0253b6a1ef60ecc63afc8e
parentee4a6b9f654fbd4e07485037481ad6b4766bbc6d
lib/clippy: fix symbol validity check

If symvalid is false, looking at symidx is bogus.

This fixes a build-time SEGV on mips64el.

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