← Commit list

f7583d89b

Denis Vlasenko
Denis Vlasenko
2006-12-17
FAILED Duration: 3s

Subject

patch: fix double-free (bug 1120)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

editors/patch.c+1 -0
@@ -214,6 +214,7 @@ int patch_main(int argc, char **argv)
bb_error_msg("hunk #%d FAILED at %d", hunk_count, hunk_offset_start);
hunk_error++;
free(patch_line);
+ patch_line = NULL;
break;
}
free(src_line);