diff options
author | emaste <emaste@FreeBSD.org> | 2013-11-25 15:54:18 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2013-11-25 15:54:18 +0000 |
commit | 79f55b704935cf6e1a4f60d33d1ce87bcf710f08 (patch) | |
tree | 837c967036574a6d50d6fda1d3d8104091dd6aff /sys/i386/linux | |
parent | 476fa15d406a21df0106b6b03ed809526cbcf83e (diff) | |
download | FreeBSD-src-79f55b704935cf6e1a4f60d33d1ce87bcf710f08.zip FreeBSD-src-79f55b704935cf6e1a4f60d33d1ce87bcf710f08.tar.gz |
MFC r258426: libexecinfo: Include terminating null in byte count
Otherwise, a formatted string with a strlen equal to the remaining
buffer space would have the last character omitted (because vsnprintf
always null-terminates), and later the assert in backtrace_symbols_fmt
would fail.
Sponsored by: DARPA, AFRL
Approved by: re (gjb)
Diffstat (limited to 'sys/i386/linux')
0 files changed, 0 insertions, 0 deletions