Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of bound checking leads to buffer overflow #10

Open
jlbirccyn opened this issue Dec 30, 2019 · 1 comment
Open

Out of bound checking leads to buffer overflow #10

jlbirccyn opened this issue Dec 30, 2019 · 1 comment

Comments

@jlbirccyn
Copy link

Hi Michael

At lines https://github.com/madleech/ArduinoCMRI/blob/master/CMRI.cpp#L107, https://github.com/madleech/ArduinoCMRI/blob/master/CMRI.cpp#L115, https://github.com/madleech/ArduinoCMRI/blob/master/CMRI.cpp#L130, test should be >= to prevent out of bound access of the array.

Best regards

@Erik84750
Copy link

There seems to be no response, a pity.
Thank you for that correction, I modified manually.
Erik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants