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

FIX StaticRequestHandler crashes when cache_header is null #7609

Merged

Conversation

The-MEO
Copy link
Contributor

@The-MEO The-MEO commented Sep 22, 2020

In the StaticRequestHandler method, exception 28 (LoadProhibitedCause) occurs when debugging with the DEBUG_ESP_CORE option and if the default parameter null is used for cache_header.

In this commit, the pointer is checked for null before output.

Copy link
Collaborator

@d-a-v d-a-v left a comment

Choose a reason for hiding this comment

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

Thanks!

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