Skip to content

Commit

Permalink
Merge pull request #151 from LLNL/bugfix/check
Browse files Browse the repository at this point in the history
Added a null check as we should not find null entries.
  • Loading branch information
hariharan-devarajan authored May 30, 2024
2 parents 9bff68a + 50dabb2 commit d5d2217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gotcha_dl.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ static int per_binding(hash_key_t key, hash_data_t data,
binding->user_binding->name,
binding->associated_binding_table->tool->tool_name);

if (!binding->user_binding->name) return 0;
while (binding->next_binding) {
binding = binding->next_binding; // GCOVR_EXCL_START
debug_printf(3,
Expand Down

0 comments on commit d5d2217

Please sign in to comment.