Change the 'amt' parameter in format_k2 from int to unsigned long long
to match the values passed in and prevent the SIZE field being corrupted when more than 2TB is allocated. PR: bin/129706 Approved by: rrs (mentor) MFC after: 1 week
This commit is contained in:
parent
f2359a2473
commit
e9db446223
@ -476,7 +476,7 @@ int amt;
|
||||
|
||||
char *format_k2(amt)
|
||||
|
||||
int amt;
|
||||
unsigned long long amt;
|
||||
|
||||
{
|
||||
static char retarray[NUM_STRINGS][16];
|
||||
|
Loading…
Reference in New Issue
Block a user