1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/usr.bin/hexdump
Tijl Coosemans e57ac359cc 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)
2012-01-28 18:49:04 +00:00
..
conv.c Correct a logic error in usr.bin/hexdump/conv.c, found by clang. 2011-12-17 15:33:26 +00:00
display.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
hexdump.1
hexdump.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
hexdump.h
hexsyntax.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
Makefile
od.1 Formatting fixes: 2011-12-23 00:29:01 +00:00
odsyntax.c
parse.c Fix decoding of escape sequences in format strings: 2012-01-28 18:49:04 +00:00