grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub.cfg parser still doesn't abort on error


From: Robert Millan
Subject: grub.cfg parser still doesn't abort on error
Date: Sat, 2 Feb 2008 21:44:00 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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 /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]