summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2012-11-12 18:38:54 +0000
committerdteske <dteske@FreeBSD.org>2012-11-12 18:38:54 +0000
commit1847901005fd01b6252104a851b615847d361ea0 (patch)
tree1d976f4fe83a1430a45109976665d592be0ff470 /sys
parentb4edfc644da5355cd2cbaa6f81d78f03dd2adbf7 (diff)
downloadFreeBSD-src-1847901005fd01b6252104a851b615847d361ea0.zip
FreeBSD-src-1847901005fd01b6252104a851b615847d361ea0.tar.gz
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)
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/forth/menu.4th1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/forth/menu.4th b/sys/boot/forth/menu.4th
index 7d3de94..c98b4f8 100644
--- a/sys/boot/forth/menu.4th
+++ b/sys/boot/forth/menu.4th
@@ -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
OpenPOWER on IntegriCloud