]> git.puffer.fish Git - matthieu/frr.git/commit
lib/clippy: don't endian-convert twice
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 18 Jan 2022 08:50:25 +0000 (09:50 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 18 Jan 2022 09:20:34 +0000 (10:20 +0100)
commitcfc45e911e21820bc8b703b37e947a6a7e5d798a
treecde7f117ef7d981432be0b5539065d6c0315171a
parent0fd57f5600d02d3b5c43e3f4128a1de3ae4a0479
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>
lib/elf_py.c