Skip to content

V-Shuttle-S has an OOM issue introduced by alloc_printf in write_to_testcase #12

@cyruscyliu

Description

@cyruscyliu

V-Shuttle-S has an OOM issue introduced by alloc_printf in write_to_testcase.

I ran V-Shuttle-S for hours and it will crash my server due to OOM. I debugged for a while and found the root cause.

In write_to_testcase and write_with_gap, the out_file is dynamically allocated but not freed.

This commit solves this problem: cyruscyliu@73d19ae

Maybe someone can PR or fix it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions