[Toybox] [PATCH] readelf: fix an off-by-one and a missing newline.

Rob Landley rob at landley.net
Fri Apr 21 18:59:21 PDT 2023


On 4/21/23 15:02, enh via Toybox wrote:
> Bug: https://github.com/android/ndk/issues/1866
> <https://github.com/android/ndk/issues/1866>
> ---
>  toys/other/readelf.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

If offset == size you're one past the end of the file?

What's the bug slash use case here?

Rob


More information about the Toybox mailing list