summaryrefslogtreecommitdiff
path: root/games/acm/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-05-12 22:33:54 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-05-12 22:33:54 +0000
commitaf98de3b3e89fabea96cf9f19fd30ab810975a31 (patch)
tree42c27c13e75c502c00d467640cdcfb9674a0cf78 /games/acm/Makefile
parentUpdate to 1.2.1 (diff)
games/acm: prevent free()ing unitialized data
acm may coredump immediately after starting on systems which do not zero malloc()ed memory e.g., MALLOC_CONF=junk:true. This is because one of the fields of a malloc()ed data structure (w) contains a pointer (w->csPool2), and if that pointer is never used, then later code will find the pointer is non-NULL and try to free() the memory pointed to by the pointer. PR: 215427 Submitted by: Jeff Gibbons <jgibbons@protogate.com>
Notes
Notes: svn path=/head/; revision=440736
Diffstat (limited to '')
-rw-r--r--games/acm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/acm/Makefile b/games/acm/Makefile
index a6a80147f087..696dfc034852 100644
--- a/games/acm/Makefile
+++ b/games/acm/Makefile
@@ -3,7 +3,7 @@
PORTNAME= acm
PORTVERSION= 5.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/