Buffer Overflow and Over-read Vulnerabilities

Joined
Jan 16, 2025
Messages
1
Reaction score
0
I've ported (stolen from KallistiOS) genromfs to build on Windows for ps2sdk-ports, but there may be potential bugs. Here are the problems.

line 434: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20).

line 555: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).

line 972: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).

line 990: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).

line 1037: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126).

How do I fix them or is there a workaround?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,163
Messages
2,570,897
Members
47,434
Latest member
TobiasLoan

Latest Threads

Top