Skip to content

Commit

Permalink
Fix wrong identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Jun 19, 2024
1 parent 2cd11a4 commit eec5d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libyara/modules/pe/pe.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ static void pe_parse_debug_directory(PE* pe)
pdb_path_len = strnlen(
pdb_path, yr_min(available_space(pe, pdb_path), YR_MAX_PATH));

if (pdb_path_len >= 0 && pdb_path_len < YR_PATH_MAX)
if (pdb_path_len >= 0 && pdb_path_len < YR_MAX_PATH)
{
yr_set_sized_string(pdb_path, pdb_path_len, pe->object, "pdb_path");
break;
Expand Down

0 comments on commit eec5d27

Please sign in to comment.