mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 05:55:30 -04:00
[misc] fix Coverity warnings
This commit is contained in:
parent
3622b441ed
commit
0a3c04379b
4 changed files with 24 additions and 23 deletions
|
@ -124,6 +124,7 @@ static errcode_t bb_u64_list_add(bb_u64_list bb, uint64_t blk)
|
|||
bb->size -= 100;
|
||||
return BB_ET_NO_MEMORY;
|
||||
}
|
||||
// coverity[suspicious_sizeof]
|
||||
memset(&bb->list[bb->size-100], 0, 100 * sizeof(uint64_t));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue