Skip to content

CRASH SIGSEGV when PATH environment variable unset #7694

@algrant-arm

Description

@algrant-arm

Current DynamoRIO. On Linux, unset PATH. Run drrun. Segmentation fault occurs.

drfront_searchenv() isn't checking the result of getenv(). It needs to check for NULL, and should probably return the same result as an empty path.

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