diff options
author | jdp <jdp@FreeBSD.org> | 2004-05-14 01:29:21 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2004-05-14 01:29:21 +0000 |
commit | 49e7c87fded2320a906d60c882d3ada168a4326c (patch) | |
tree | 74e67d256ab5ee650533444f56004ab0d0344c49 /lib/libc/stdio/mktemp.c | |
parent | 1a6a57d801c64658715940a7ea65bc80fdec4a8f (diff) | |
download | FreeBSD-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