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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to