Skip to content

Buffer overflow in Main.c #12

@prodigysml

Description

@prodigysml

A buffer overflow was detected in Main.c. The local_buffer variable takes the value of argv[4] without any bounds checking which causes the issue.

The assignment of the user-controlled variable is given below:

strcpy(local_buffer,argv[4]);

A screenshot of the crash is given below:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions