[PATCH] Several dump.c fixes
Denys Vlasenko
vda.linux at googlemail.com
Fri Aug 26 18:19:08 UTC 2016
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
<bmgg.chevalier at gmail.com> 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
> <shruggy at yandex.ru>, 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
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
More information about the busybox
mailing list