Skip to content

ugui.c : stack address is assigned to a non-local variable #51

@b4yuan

Description

@b4yuan

In line 5650:

msg.src = &obj;

Instance where a stack address is assigned to a non-local variable. Storing the address of a local variable in non-local memory can cause a dangling pointer bug if the address is used after the function returns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions