Skip to content

avoid to dereference a NULL pointer if update is called before begin #853

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 17, 2015

Conversation

mpromonet
Copy link
Contributor

Hi,
This pull request is about ESP8266mDNS, it add in the update method a check that _conn is not NULL before using it.
It allows to have a loop that always call it even when ESP8266mDNS is not still initialized.
Regards,
Michel.

igrr added a commit that referenced this pull request Oct 17, 2015
avoid to dereference a NULL pointer if update is called before begin
@igrr igrr merged commit bda5cff into esp8266:esp8266 Oct 17, 2015
@igrr
Copy link
Member

igrr commented Oct 17, 2015

Actually update should not be called from the loop any more. I think all the library examples reflect that.

igrr added a commit that referenced this pull request Oct 29, 2015
avoid to dereference a NULL pointer if update is called before begin
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