Skip to content

Commit 7d6bdd9

Browse files
Fix double free of load_info
The first free was just above (talloc_unlink), but far this went under radar because refcount wasn't one #203
1 parent 4d83047 commit 7d6bdd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/execve/enter.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ int translate_execve_enter(Tracee *tracee)
658658
talloc_unlink(tracee, tracee->load_info);
659659

660660
if (tracee->skip_proot_loader) {
661-
TALLOC_FREE(tracee->load_info);
661+
tracee->load_info = NULL;
662662
tracee->heap->disabled = true;
663663

664664
status = set_sysarg_path(tracee, host_path, SYSARG_1);

0 commit comments

Comments
 (0)