mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00: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 |