Skip to content

Bugfix: Use correct length of LZSS compressed file for decompression #562

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

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

aentinger
Copy link
Contributor

Due to changes in #553 the downloaded file contains not only the LZSS compressed binary but also the OTA header. Therefore the OTA header must be discounted when decompressing the LZSS compressed binary, as it is not LZSS compressed itself. The observable result of this bug was writing of a couple of random values at the end of the actual user application into flash.

@aentinger aentinger added the bug label Sep 22, 2020
@aentinger aentinger self-assigned this Sep 22, 2020
@aentinger aentinger merged commit 0b87b1b into master Sep 22, 2020
@aentinger aentinger deleted the fix-nina-lzss-length branch September 22, 2020 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant