Skip to content

SAST. Potential file descriptor leak #3751

@arinochk

Description

@arinochk

The static analyzer has identified a potential resource leak.
In the udpStatsFromProc function on line 696 in container/libcontainer/handler.go the udpStatsFile file descriptor opens, if the function exits on line 703 the file descriptor does not close. Could you tell me, please, is this really TP?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions