Commit a0d4a58a authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedump: Explain a bit more errors on hash header.

parent 4fc2c331
......@@ -249,7 +249,10 @@ static void dump_dbi_hash_table(const BYTE* root, unsigned size, const char* nam
sizeof(DBI_HASH_HEADER) + hdr->hash_records_size + DBI_BITMAP_HASH_SIZE > size ||
(size - (sizeof(DBI_HASH_HEADER) + hdr->hash_records_size + DBI_BITMAP_HASH_SIZE)) % sizeof(unsigned))
{
printf("%s\t\tIncorrect hash structure\n", pfx);
if (size >= sizeof(DBI_HASH_HEADER) && !hdr->hash_records_size)
printf("%s\t\tEmpty hash structure\n", pfx);
else
printf("%s\t\tIncorrect hash structure\n", pfx);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment