summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/mktemp.c
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2004-05-14 01:29:21 +0000
committerjdp <jdp@FreeBSD.org>2004-05-14 01:29:21 +0000
commit49e7c87fded2320a906d60c882d3ada168a4326c (patch)
tree74e67d256ab5ee650533444f56004ab0d0344c49 /lib/libc/stdio/mktemp.c
parent1a6a57d801c64658715940a7ea65bc80fdec4a8f (diff)
downloadFreeBSD-src-49e7c87fded2320a906d60c882d3ada168a4326c.zip
FreeBSD-src-49e7c87fded2320a906d60c882d3ada168a4326c.tar.gz
Fix a potential stack buffer overflow on systems whose ACPI OEMID
fills its field (6 characters). In that case the OEMID is not null-terminated, and the sprintf that was used would copy up to the next null byte, which could be pretty far away.
Diffstat (limited to 'lib/libc/stdio/mktemp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud