* grub-core/commands/ls.c (grub_ls_list_files): Fix overflow.
This commit is contained in:
parent
75ccaea346
commit
83b2e89cf7
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-05-06 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/ls.c (grub_ls_list_files): Fix overflow.
|
||||
|
||||
2012-05-06 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/fs/sfs.c (grub_fshelp_node): Fix types.
|
||||
|
|
|
@ -138,7 +138,7 @@ grub_ls_list_files (char *dirname, int longlist, int all, int human)
|
|||
else
|
||||
{
|
||||
grub_uint64_t fsize = file->size * 100ULL;
|
||||
int fsz = file->size;
|
||||
grub_uint64_t fsz = file->size;
|
||||
int units = 0;
|
||||
char buf[20];
|
||||
|
||||
|
|
Loading…
Reference in a new issue