Skip to content

Fix parsing long dotenv values #7049

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
Oct 14, 2022
Merged

Conversation

jepler
Copy link

@jepler jepler commented Oct 13, 2022

Values that exceeded the stack buffer of 64 bytes were incorrectly handled.

A new test is added.

Thanks to @BlitzCityDIY for encountering & reporting the problem!

Values that exceeded the stack buffer of 64 bytes were incorrectly
handled.

A new test is added.
Copy link
Collaborator

@dhalbert dhalbert 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, and very good for the tests.

@BlitzCityDIY
Copy link

Just tested with a Twitter authentication token that previously was not parsing and it is working now 🙂 thanks!

@dhalbert dhalbert merged commit f8b033c into adafruit:main Oct 14, 2022
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.

3 participants