svn commit: r230649 - head/usr.bin/hexdump

Eitan Adler eadler at freebsd.org
Sat Jan 28 19:22:50 UTC 2012


On Sat, Jan 28, 2012 at 1:49 PM, Tijl Coosemans <tijl at freebsd.org> wrote:
> Author: tijl
> Date: Sat Jan 28 18:49:04 2012
> New Revision: 230649
> URL: http://svn.freebsd.org/changeset/base/230649
>
> Log:
>  Fix decoding of escape sequences in format strings:
>  - Zero-terminate the resulting string by letting the for-loop copy the
>    terminating zero.
>  - Exit the for-loop after handling a backslash at the end of the format
>    string to fix a buffer overrun.
>  - Remove some unnecessary comments and blank lines. [1]
>
>  Requested by: bde [1]
>  PR:           bin/144722
>  Approved by:  kib (mentor)


Thanks!


-- 
Eitan Adler
Source & Ports committer
X11, Bugbusting teams


More information about the svn-src-head mailing list