summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-11-25 15:54:18 +0000
committeremaste <emaste@FreeBSD.org>2013-11-25 15:54:18 +0000
commit79f55b704935cf6e1a4f60d33d1ce87bcf710f08 (patch)
tree837c967036574a6d50d6fda1d3d8104091dd6aff /sys/i386/linux
parent476fa15d406a21df0106b6b03ed809526cbcf83e (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud