dbghelp: Fix erroneous string manipulation when said string is empty.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ebff1e8c9b
commit
e05bac0fd5
|
@ -2198,7 +2198,7 @@ static BOOL dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
|
|||
traverse.data += rellen + 1;
|
||||
p = vector_add(&dirs, &ctx->pool);
|
||||
|
||||
if (*rel == '/' || !compile_dir)
|
||||
if (*rel == '/' || !compile_dir || !*compile_dir)
|
||||
*p = rel;
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue