xrile / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

31-08-2014 serious bug #201

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
This version has big BUG! No %?_BOOT% variable is set! also crashes/spurious 
characters.
\menu.lst
echo %?_BOOT%   ->>>>   <nothing>

I think this is to do with the variable_base_addr change.

Also get random characters, etc.

0.4.6a 31-08-2014 has same bug!

Original issue reported on code.google.com by Steve6375 on 1 Sep 2014 at 8:26

GoogleCodeExporter commented 8 years ago
Thank you for your reported! this is a big BUG!

Original comment by chenall.cn on 2 Sep 2014 at 1:23

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Still a problem
\menu.lst
=========
pause ?_BOOT=%?_BOOT%
write 0x307ff4  0x400000 && set *
pause ?_BOOT=%?_BOOT%

?_BOOT still not present after changing address.
Do we need to add code to copy variable area to new area of memory?

Original comment by Steve6375 on 3 Sep 2014 at 9:57

GoogleCodeExporter commented 8 years ago
write 0x307ff4  0x400000 &&  set * && set ?_BOOT=%?_BOOT%

This works :-)

Original comment by Steve6375 on 3 Sep 2014 at 7:48

GoogleCodeExporter commented 8 years ago
if change variavle_base_addr  will lost all variavles.

Original comment by chenall.cn on 4 Sep 2014 at 12:11