Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2012 18:38:54 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242923 - head/sys/boot/forth
Message-ID:  <201211121838.qACIcsGV078478@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Mon Nov 12 18:38:54 2012
New Revision: 242923
URL: http://svnweb.freebsd.org/changeset/base/242923

Log:
  Fix a stack leak in [unused] cycle_menuitem function while we're here
  (required misconfiguration and/or missing environment vars to occur).
  
  Reviewed by:	peterj, adrian (co-mentor)
  Approved by:	adrian (co-mentor)

Modified:
  head/sys/boot/forth/menu.4th

Modified: head/sys/boot/forth/menu.4th
==============================================================================
--- head/sys/boot/forth/menu.4th	Mon Nov 12 18:09:25 2012	(r242922)
+++ head/sys/boot/forth/menu.4th	Mon Nov 12 18:38:54 2012	(r242923)
@@ -342,6 +342,7 @@ create init_text8 255 allot
 			\ sure that things move along smoothly, allocate
 			\ a temporary NULL string
 
+			drop ( getenv cruft )
 			s" "
 		then
 	then



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211121838.qACIcsGV078478>