mDNS: protect MDNSResponder::queryService against misuse by d-a-v · Pull Request #7216 · esp8266/Arduino · GitHub
Skip to content

mDNS: protect MDNSResponder::queryService against misuse#7216

Merged
devyte merged 2 commits into
esp8266:masterfrom
d-a-v:mdnsqueryfix
Apr 15, 2020
Merged

mDNS: protect MDNSResponder::queryService against misuse#7216
devyte merged 2 commits into
esp8266:masterfrom
d-a-v:mdnsqueryfix

Conversation

@d-a-v

@d-a-v d-a-v commented Apr 15, 2020

Copy link
Copy Markdown
Collaborator

fixes #7215

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Isn't this a ptr? check against nullptr?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes. For coherency I sticked to this file's style.

I was afraid to modify too much for when LEAmDNS2 is coming to avoid merge complication.

@devyte devyte merged commit e5f4514 into esp8266:master Apr 15, 2020
@devyte devyte added this to the 2.7.0 milestone Apr 15, 2020
@jjsuwa jjsuwa mentioned this pull request May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception (28) on MDNSResponder::queryService

2 participants