* grub-core/normal/charset.c (grub_utf8_to_ucs4_alloc): Avoid deadloop

on malloc error.
	(grub_bidi_logical_to_visual): Check that malloc succeded.
	* grub-core/normal/term.c (grub_puts_terminal): Fix fallback to dumb
	puts.
	(grub_xputs_normal): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-29 21:57:37 +02:00
parent d768d15986
commit 5303b85d44
3 changed files with 61 additions and 23 deletions

View file

@ -1,3 +1,12 @@
2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/charset.c (grub_utf8_to_ucs4_alloc): Avoid deadloop
on malloc error.
(grub_bidi_logical_to_visual): Check that malloc succeded.
* grub-core/normal/term.c (grub_puts_terminal): Fix fallback to dumb
puts.
(grub_xputs_normal): Likewise.
2010-08-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/Makefile.core.def (kernel): Add kern/mips/cache_flush.S to