]> git.puffer.fish Git - mirror/frr.git/commit
lib/clippy: don't endian-convert twice 10377/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 18 Jan 2022 08:50:25 +0000 (09:50 +0100)
committermergify-bot <noreply@mergify.com>
Wed, 19 Jan 2022 14:59:42 +0000 (14:59 +0000)
commitb7cc55e39ee80327a5bae983a128185e037b99a2
treeea95066314f14d6d7f62c48943b7324408567167
parent4757da741a81ba48a4ba1601a1e9c9380def66ef
lib/clippy: don't endian-convert twice

elf_getdata_rawchunk() already endian-converts; doing it again is, uh,
counterproductive.

Fixes: #10051
Reported-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit cfc45e911e21820bc8b703b37e947a6a7e5d798a)
lib/elf_py.c