mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of
grub_memcmp usage.
This commit is contained in:
1 parent
7a5c54a437
commit
d1e293bbfa
2 files changed
+6
-1
No files matched your search
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user