Skip to content

fr_camera_create can result in a null pointer dereference #11

@StrayLightning

Description

@StrayLightning

fr_camera_create doesn't check arg2 before calling LG_memcpy with it as a source. Some invocations of fr_camera_create call with arg2 as NULL, leading to a null-pointer deref.

Found while running the code under valgrind.

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