[Bug 215427] [patch] games/acm coredumps immediately on start

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 12 22:34:26 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215427

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri May 12 22:33:55 UTC 2017
New revision: 440736
URL: https://svnweb.freebsd.org/changeset/ports/440736

Log:
  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 at protogate.com>

Changes:
  head/games/acm/Makefile
  head/games/acm/files/patch-V_lib_InitAWin.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list