There was an error while loading. Please reload this page.
memset
1 parent 64dd2f9 commit a6f6ce1Copy full SHA for a6f6ce1
1 file changed
libyara/exec.c
@@ -652,11 +652,6 @@ int yr_execute_code(YR_SCAN_CONTEXT* context)
652
it_notebook,
653
sizeof(YR_ITERATOR) + sizeof(SIZED_STRING*) * (size_t) r1.i);
654
655
- memset(
656
- r3.p,
657
- 0xcc,
658
- sizeof(YR_ITERATOR) + sizeof(SIZED_STRING*) * (size_t) r1.i);
659
-
660
if (r3.p == NULL)
661
{
662
result = ERROR_INSUFFICIENT_MEMORY;
0 commit comments