Eric Pouech : dbghelp: Skip deleted vector in hash inside PDB header.
Module: wine Branch: master Commit: f2d98ea7cf2793930a093d673fe56787418069e2 URL: https://gitlab.winehq.org/wine/wine/-/commit/f2d98ea7cf2793930a093d673fe5678... Author: Eric Pouech <epouech(a)codeweavers.com> Date: Mon Dec 11 11:39:31 2023 +0100 dbghelp: Skip deleted vector in hash inside PDB header. Signed-off-by: Eric Pouech <epouech(a)codeweavers.com> --- dlls/dbghelp/msc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c index a578cf7cbfa..7f695928e4a 100644 --- a/dlls/dbghelp/msc.c +++ b/dlls/dbghelp/msc.c @@ -3159,11 +3159,7 @@ static BOOL pdb_load_stream_name_table(struct pdb_file_info* pdb_file, const cha /* bitfield: first dword is len (in dword), then data */ ok_bits = pdw; pdw += *ok_bits++ + 1; - if (*pdw++ != 0) - { - FIXME("unexpected value\n"); - return FALSE; - } + pdw += *pdw + 1; /* skip deleted vector */ for (i = j = 0; i < count; i++) {
participants (1)
-
Alexandre Julliard