Skip to content

Commit

Permalink
Remove memset that was being used for debugging purposes.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Apr 20, 2023
1 parent 64dd2f9 commit a6f6ce1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libyara/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,11 +652,6 @@ int yr_execute_code(YR_SCAN_CONTEXT* context)
it_notebook,
sizeof(YR_ITERATOR) + sizeof(SIZED_STRING*) * (size_t) r1.i);

memset(
r3.p,
0xcc,
sizeof(YR_ITERATOR) + sizeof(SIZED_STRING*) * (size_t) r1.i);

if (r3.p == NULL)
{
result = ERROR_INSUFFICIENT_MEMORY;
Expand Down

0 comments on commit a6f6ce1

Please sign in to comment.