Skip to content

nc_realloc frees the ptr upon realloc failure which is causing application crash #574

@CoolPreet

Description

@CoolPreet

Hello libnetconf team,
We are seeing a application crash after calling the nc_recv_reply. The crash is causing on below path,
nc_recv_reply -> recv_msg -> nc_read_msg_io -> CRASH
Please find the attached analysis document for more details.

CRASH_ANALYSIS_Report.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:bugBug description.status:invalidIssue is not reproducible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions