All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: grub-devel@gnu.org
Subject: grub.cfg parser still doesn't abort on error
Date: Sat, 2 Feb 2008 21:44:00 +0100	[thread overview]
Message-ID: <20080202204400.GA346@thorin> (raw)


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	other threads:[~2008-02-02 20:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-02 20:44 Robert Millan [this message]
2008-02-02 20:59 ` grub.cfg parser still doesn't abort on error 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080202204400.GA346@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.