Hi everyone,

This is a patch for hexdump and other applications making use of dump.c.
It did not properly escape format strings.

Example of a format string that failed:
hexdump -n 6 -e '6/1 "\\x%02x\t\\"' some_file

See also this bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776096
On that link we can find a patch supplied by Sergey Romanov <
[email protected]>, which I ported to busybox.

I have also fixed the conversion of the formfeed character which was being
converted to a backspace character.

Attachment: 0001-Several-dump.c-fixes.patch
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to