All of lore.kernel.org
 help / color / mirror / Atom feed
* grub.cfg parser still doesn't abort on error
@ 2008-02-02 20:44 Robert Millan
  2008-02-02 20:59 ` Marco Gerards
  0 siblings, 1 reply; 10+ messages in thread
From: Robert Millan @ 2008-02-02 20:44 UTC (permalink / raw)
  To: grub-devel


Try the following grub.cfg:

  cat (memdisk)/non-existant-file
  echo this point should never be reached
  read

You'll see that the echo is reached, even if cat returned an error.

This becomes much worse when found in situations like:

  font (xxx)/some-file.pff
  terminal gfxterm

and the font wasn't loaded.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-02-03 18:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-02 20:44 grub.cfg parser still doesn't abort on error Robert Millan
2008-02-02 20:59 ` Marco Gerards
2008-02-02 21:07   ` Robert Millan
2008-02-03  3:05     ` Bean
2008-02-03 10:55       ` Robert Millan
2008-02-03 13:05         ` Bean
2008-02-03 13:29           ` Robert Millan
2008-02-03 14:53             ` Robert Millan
2008-02-03 18:26               ` Robert Millan
2008-02-03 13:09         ` Yoshinori K. Okuji

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.