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

Möglicher overflow, w #80

Closed
sidey79 opened this issue Dec 3, 2017 · 0 comments
Closed

Möglicher overflow, w #80

sidey79 opened this issue Dec 3, 2017 · 0 comments

Comments

@sidey79
Copy link
Contributor

sidey79 commented Dec 3, 2017

Wenn messageLen 0 ist, dann wird i auf 255 gesetzt.

for (uint8_t i = messageLen - 1; i >= 0 && histo[pattern_pos] > 0; --i)

@sidey79 sidey79 added the bug label Dec 3, 2017
@sidey79 sidey79 mentioned this issue Dec 5, 2017
sidey79 added a commit that referenced this issue Dec 5, 2017
possible overflow fixed #80 #62
@sidey79 sidey79 added the fixed label Dec 5, 2017
sidey79 added a commit that referenced this issue Feb 25, 2018
possible overflow fixed #80 #62
@sidey79 sidey79 closed this as completed Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant