mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
* grub-core/commands/ls.c (grub_ls_list_files): Fix overflow.
This commit is contained in:
1 parent
75ccaea346
commit
83b2e89cf7
2 files changed
+5
-1
No files matched your search
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user