[Toybox] [PATCH] file: don't print ELF flags unless we've verified the bitness.

enh enh at google.com
Fri Aug 2 13:23:21 PDT 2024


This was the file(1) crash mentioned in #503.
---
 tests/file.test   | 3 +++
 toys/posix/file.c | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-file-don-t-print-ELF-flags-unless-we-ve-verified-the.patch
Type: text/x-patch
Size: 1954 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240802/e1eab4dd/attachment.bin>


More information about the Toybox mailing list