2009-01-22 Christian Franke <franke@computer.org>

* kern/misc.c (grub_vsprintf): Fix size and termination of `format2'
	(precision) digit string.  Allow `.format2' without `format1' (width).
	Limit input chars for `%s' output to `format2' if specified.  This is
	compatible with standard printf ().
This commit is contained in:
chrfranke 2009-01-22 20:27:52 +00:00
parent 3138b44c90
commit d31c24f1e0
2 changed files with 36 additions and 21 deletions

View file

@ -1,3 +1,10 @@
2009-01-22 Christian Franke <franke@computer.org>
* kern/misc.c (grub_vsprintf): Fix size and termination of `format2'
(precision) digit string. Allow `.format2' without `format1' (width).
Limit input chars for `%s' output to `format2' if specified. This is
compatible with standard printf ().
2009-01-22 Christian Franke <franke@computer.org>
* disk/ata.c (grub_ata_wait_status): Replace by ...