mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-17 20:02:19 +00:00
* grub-core/kern/misc.c (grub_vsnprintf_real): Fix fmt2 parsing.
This commit is contained in:
parent
e59b7857f8
commit
fd261d7300
@ -1,3 +1,7 @@
|
||||
2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/misc.c (grub_vsnprintf_real): Fix fmt2 parsing.
|
||||
|
||||
2011-12-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/videotest.c (grub_cmd_videotest): Check that
|
||||
|
@ -749,6 +749,12 @@ grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0, va_list a
|
||||
while (*fmt && grub_isdigit (*fmt))
|
||||
fmt++;
|
||||
|
||||
if (*fmt && *fmt =='.')
|
||||
fmt++;
|
||||
|
||||
while (*fmt && grub_isdigit (*fmt))
|
||||
fmt++;
|
||||
|
||||
p = fmt;
|
||||
|
||||
if (*fmt && *fmt == '$')
|
||||
|
Loading…
Reference in New Issue
Block a user