[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] Several dump.c fixes
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2016-08-26 18:19:08
Message-ID: CAK1hOcPivsP38BZgXhuJERgDxmVmnX0JLiPz4-nfstSWoNiJDA () mail ! gmail ! com
[Download RAW message or body]

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@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@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@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic