Follow-up Comment #17, bug #13606 (project grub):

> There's a new loader now, in loader/i386/linux.c, which for
> now is only used on coreboot (but is trivial to enable it on
> i386-pc by editting conf/i386-pc.*). Does it also exhibit 
> this problem? 

As far as I can see, (GRUB_LINUX_CL_END_OFFSET-GRUB_LINUX_CL_OFFSET) = 0xff
And argv[] is truncated to this amount.

I believe you guys can do this much better than I can. Only needed action to
be taken is to set cmd_line_ptr on >=2.02 protocol to untruncated null
terminated string.

So construct a string out of argv[], then copy/truncate this to the old
command-line 256 buffer for compatibility.

Grub is much more complex than this one...

This is opened from jul-2007!!!


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?13606>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to