svn commit: r242923 - head/sys/boot/forth

Devin Teske dteske at FreeBSD.org
Mon Nov 12 18:38:55 UTC 2012


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


More information about the svn-src-head mailing list