diff options
| author | Tijl Coosemans <tijl@FreeBSD.org> | 2012-02-13 10:24:49 +0000 |
|---|---|---|
| committer | Tijl Coosemans <tijl@FreeBSD.org> | 2012-02-13 10:24:49 +0000 |
| commit | 14e7a616b1e89e0ba9a2cf906b5cd8ae3a22cbb4 (patch) | |
| tree | f63a470905ffab3ce0cb2b17a50335bbfba5db51 /libexec/rtld-elf/rtld.h | |
| parent | efeba492f3d12a7be36b6c81b3ae60ae0a49a828 (diff) | |
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
Notes
svn path=/stable/9/; revision=231578
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
0 files changed, 0 insertions, 0 deletions
