* 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
|
@ -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>
|
||||
|
||||
* util/grub-install.in: Add datarootdir as per automake manual
|
||||
|
|
|
@ -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…
Reference in a new issue