* grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of
grub_memcmp usage.
This commit is contained in:
parent
7a5c54a437
commit
d1e293bbfa
2 changed files with 6 additions and 1 deletions
|
@ -397,7 +397,7 @@ test_header (grub_file_t file)
|
|||
if (hcheck)
|
||||
{
|
||||
checksum = grub_cpu_to_be32(checksum);
|
||||
if (memcmp(&checksum, hcheck->read(context), sizeof(checksum)) != 0)
|
||||
if (grub_memcmp (&checksum, hcheck->read(context), sizeof(checksum)) != 0)
|
||||
goto CORRUPTED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue