Commit 135b132d authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedump: Skip deleted vector in hash inside PDB header.

parent 6d783941
...@@ -200,11 +200,7 @@ static unsigned get_stream_by_name(struct pdb_reader* reader, const char* name) ...@@ -200,11 +200,7 @@ static unsigned get_stream_by_name(struct pdb_reader* reader, const char* name)
/* bitfield: first dword is len (in dword), then data */ /* bitfield: first dword is len (in dword), then data */
ok_bits = pdw; ok_bits = pdw;
pdw += *ok_bits++ + 1; pdw += *ok_bits++ + 1;
if (*pdw++ != 0) pdw += *pdw + 1; /* skip deleted vector */
{
printf("unexpected value\n");
return -1;
}
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
{ {
...@@ -1195,11 +1191,7 @@ static void pdb_jg_dump_header_root(struct pdb_reader* reader) ...@@ -1195,11 +1191,7 @@ static void pdb_jg_dump_header_root(struct pdb_reader* reader)
/* bitfield: first dword is len (in dword), then data */ /* bitfield: first dword is len (in dword), then data */
ok_bits = pdw; ok_bits = pdw;
pdw += *ok_bits++ + 1; pdw += *ok_bits++ + 1;
if (*pdw++ != 0) pdw += *pdw + 1; /* skip deleted vector */
{
printf("unexpected value\n");
return;
}
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
{ {
...@@ -1346,11 +1338,7 @@ static void pdb_ds_dump_header_root(struct pdb_reader* reader) ...@@ -1346,11 +1338,7 @@ static void pdb_ds_dump_header_root(struct pdb_reader* reader)
/* bitfield: first dword is len (in dword), then data */ /* bitfield: first dword is len (in dword), then data */
ok_bits = pdw; ok_bits = pdw;
pdw += *ok_bits++ + 1; pdw += *ok_bits++ + 1;
if (*pdw++ != 0) pdw += *pdw + 1; /* skip deleted vector */
{
printf("unexpected value\n");
return;
}
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
{ {
......
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