Fixed in git, thanks. We have strcpy_and_process_escape_sequences() which seems to work fine here, so I used it instead.
On Wed, Aug 24, 2016 at 11:28 AM, Bruno Chevalier <[email protected]> wrote: > 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. > > > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
