-
Notifications
You must be signed in to change notification settings - Fork 66
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
All boards can crash after upload w/ 4 7Segment #141
Conversation
Firmware for this pull request: |
Nice find! |
Firmware for this pull request: |
Firmware for this pull request: |
Unfortunetly I missed one more buffer overflow, but now I should have find all of them. First tests shows that it runs very stable now. |
Sorry, I forgot to mention, that this is not only an issue regarding a possible buffer overflow. This "only" happens if the max. number of a device is configured. Much more important is, the memory wasn't cleared up after a config upload if one or more devices from these 6 devices were configured. But I still recommended to merge issue 127. The pull request is nearly done and more explanations will be icluded in the upcoming pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOL!
Thanks for finding and fixing
Fixes #140
Eexchange ledSegmentsRegistered by i in function ClearLedSegments().
Otherwise the ledSegments[] buffersize will be exceeded when 4 7Segments are configured