summaryrefslogtreecommitdiffstats
path: root/games/wargames/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-02-18 01:06:13 +0000
committerbde <bde@FreeBSD.org>2001-02-18 01:06:13 +0000
commit11a6354f43e3c7c8c329dcf77908ced7e9668640 (patch)
tree517f62dd5c19c7c3dd4c403d20c0de774bcbc978 /games/wargames/Makefile
parent5136341131f7ada5386553c88ace07200a0e4100 (diff)
downloadFreeBSD-src-11a6354f43e3c7c8c329dcf77908ced7e9668640.zip
FreeBSD-src-11a6354f43e3c7c8c329dcf77908ced7e9668640.tar.gz
Quick fix for attempts to free non-malloc()ed memory. The variables
current_file_name and current_link_name sometimes point into the middle of malloc()ed memory and sometimes point to alloca()ed memory, but free() is sometimes called on them. This seems to be harmless for the usual tar operations, but it is usually fatal for `tar -W'. E.g., for `cd /etc; tar Wcf /tmp/foo rc', at the start of verify_volume(), current_file_name points to alloca()ed memory, and tar attempts to free it.
Diffstat (limited to 'games/wargames/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud