Searched hist:231578 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/usr.bin/hexdump/
H A Dparse.cdiff 231578 Mon Feb 13 08:29:59 MST 2012 tijl MFC r229794:

- Fix how hexdump parses escape strings
From the NetBSD bug:
The way how hexdump(1) parses escape sequences has some bugs.
It shows up when an escape sequence is used as the non-last character
of a format string.

MFC r230649:

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.

PR: bin/144722

Completed in 47 milliseconds