All of lore.kernel.org
 help / color / mirror / Atom feed
* a bug in read
@ 2008-07-07 22:18 Yoshinori K. Okuji
  2008-07-09  6:14 ` Pavel Roskin
  0 siblings, 1 reply; 5+ messages in thread
From: Yoshinori K. Okuji @ 2008-07-07 22:18 UTC (permalink / raw)
  To: The development of GRUB 2

Hello,

I have noticed that read.c has a bug. In this line:

  while ((line[i - 1] != '\n') && (line[i - 1] != '\r'))

LINE is not initialized yet at the first time, so this refers to a 
uninitialized location.

Regards,
Okuji



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

end of thread, other threads:[~2008-07-11 18:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-07 22:18 a bug in read Yoshinori K. Okuji
2008-07-09  6:14 ` Pavel Roskin
2008-07-09 17:05   ` Vesa Jääskeläinen
2008-07-09 17:56   ` Javier Martín
2008-07-11 18:23     ` Pavel Roskin

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.