mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 04:54:07 +01:00
63298eb19c
The environment variable TMPDIR was copied unchecked into a fixed-size heap buffer. Use a length-limiting snprintf in place of ordinary sprintf to prevent the overflow. Long TMPDIR variables can still cause odd truncated filenames, which may be undesirable. Reported by: Coverity (CWE-120) CIDs: 1006706, 1006707 Sponsored by: Dell EMC Isilon |
||
---|---|---|
.. | ||
dirs.c | ||
extern.h | ||
interactive.c | ||
main.c | ||
Makefile | ||
Makefile.depend | ||
restore.8 | ||
restore.c | ||
restore.h | ||
symtab.c | ||
tape.c | ||
utilities.c |