Skip to content

3.0: wasn't always clearing boot_output_file #848

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
May 19, 2018

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented May 19, 2018

boot_output_file was not set to NULL after if boot_out.txt did not need to be written, so running code.py would try to write to boot_out.txt with a file descriptor that had junk in it. Usually this caused no problem, but recent merges apparently made this more likely to cause a hard fault.

Fixes #847

@dhalbert dhalbert requested a review from tannewt May 19, 2018 05:04
@dhalbert dhalbert changed the title wasn't always clearing boot_output_file 3.0: wasn't always clearing boot_output_file May 19, 2018
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Nice find!

@tannewt tannewt merged commit ebeb323 into adafruit:master May 19, 2018
@dhalbert dhalbert deleted the 3.0-boot_output_file branch June 15, 2018 18:04
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

Successfully merging this pull request may close these issues.

2 participants