diff --git a/debian/changelog b/debian/changelog index af0e9fe..2283391 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,9 @@ gfxboot-theme-ubuntu (0.1.18) UNRELEASED; urgency=low Bokmål, Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Slovak, Swedish, Chinese (China), Chinese (Taiwan). * Update font to add newly-required characters. + * Fix memory handling in isolinux.cfg parser: take copies of all labels, + and free a pointer to the start of the file, not the end (closes: Malone + #34592). -- Colin Watson Tue, 4 Apr 2006 16:25:30 +0100 diff --git a/menuconfig.inc b/menuconfig.inc index 93a0017..b8ec583 100644 --- a/menuconfig.inc +++ b/menuconfig.inc @@ -225,11 +225,11 @@ } { pop } ifelse } if dup "label" eq { - over menuconfig.skipspace /menuconfig.curlabel exch def + over menuconfig.skipspace strdup /menuconfig.curlabel exch def } if dup "menu" eq { over menuconfig.skipspace menuconfig.keyword - dup "label" eq { over menuconfig.skipspace menuconfig.sethuman } if + dup "label" eq { over menuconfig.skipspace strdup menuconfig.sethuman } if dup "hide" eq { menuconfig.hidelabel } if free rot pop exch } if @@ -237,7 +237,8 @@ % skip to end of line dup length add - } loop free + } loop pop + menuconfig.file free menuconfig.humans menuconfig.entries menuconfig.args } def