2008-07-11 Pavel Roskin <proski@gnu.org>

* commands/read.c (grub_getline): Fix invalid memory access.
	Don't add newline to the variable value.
This commit is contained in:
proski 2008-07-11 17:35:06 +00:00
parent 947414b4b9
commit 0059cf6fdd
2 changed files with 12 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2008-07-11 Pavel Roskin <proski@gnu.org>
* commands/read.c (grub_getline): Fix invalid memory access.
Don't add newline to the variable value.
* term/i386/pc/serial.c (GRUB_SERIAL_PORT_NUM): New constant.
[!GRUB_MACHINE_PCBIOS] (serial_hw_io_addr): Add COM2 and COM3.
(serial_hw_get_port): Check validity of the port number.