* grub-core/term/ieee1275/serial.c (do_real_config): Set handle to

invalid on error.
	(serial_hw_fetch): Don't read invalid handle.
	(serial_hw_put): Don't write into invalid handle.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-08 19:34:57 +02:00
parent 08dafeeaae
commit 08fd129137
2 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2012-06-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/ieee1275/serial.c (do_real_config): Set handle to
invalid on error.
(serial_hw_fetch): Don't read invalid handle.
(serial_hw_put): Don't write into invalid handle.
2012-06-08 Vladimir Serbinenko <phcoder@gmail.com>
Add a 1.5 stop bits value.