Skip to content

mmap(2) should check whether return value is MAP_FAILED instead of NULL #113343

Description

@corona10

According to the man page, mmap(2) returns MAP_FAILED (-1) on error instead of NULL. by @namhyung

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions