mirror of
https://git.proxmox.com/git/grub2
synced 2025-10-19 07:28:31 +00:00
* grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of
grub_memcmp usage.
This commit is contained in:
parent
7a5c54a437
commit
d1e293bbfa
@ -1,3 +1,8 @@
|
|||||||
|
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of
|
||||||
|
grub_memcmp usage.
|
||||||
|
|
||||||
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/grub-install.in: Add datarootdir as per automake manual
|
* util/grub-install.in: Add datarootdir as per automake manual
|
||||||
|
@ -397,7 +397,7 @@ test_header (grub_file_t file)
|
|||||||
if (hcheck)
|
if (hcheck)
|
||||||
{
|
{
|
||||||
checksum = grub_cpu_to_be32(checksum);
|
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;
|
goto CORRUPTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user