Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2017 22:36:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215427] [patch] games/acm coredumps immediately on start
Message-ID:  <bug-215427-13-EPFf5f9wvp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215427-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215427-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215427

--- Comment #2 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri May 12 22:35:53 UTC 2017
New revision: 440737
URL: https://svnweb.freebsd.org/changeset/ports/440737

Log:
  MFH: r440736

  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=3Djunk: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>
  Approved by:  ports-secteam blanket

Changes:
_U  branches/2017Q2/
  branches/2017Q2/games/acm/Makefile
  branches/2017Q2/games/acm/files/patch-V_lib_InitAWin.c

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215427-13-EPFf5f9wvp>