Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mDNS: protect MDNSResponder::queryService against misuse#7216

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
devyte merged 2 commits intoesp8266:masterfromd-a-v:mdnsqueryfix
Apr 15, 2020

Conversation

@d-a-v
Copy link
Collaborator

fixes#7215

constchar* p_pcProtocol,
constuint16_t p_u16Timeout/*= MDNS_QUERYSERVICES_WAIT_TIME*/)
{
if (0 == m_pUDPContext)
Copy link
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
CollaboratorAuthor

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.

if (0 == m_pUDPContext)

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

@devytedevyte merged commite5f4514 intoesp8266:masterApr 15, 2020
@devytedevyte added this to the2.7.0 milestoneApr 15, 2020
@jjsuwajjsuwa mentioned this pull requestMay 3, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@devytedevytedevyte approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

2.7.0

Development

Successfully merging this pull request may close these issues.

Exception (28) on MDNSResponder::queryService

2 participants

@d-a-v@devyte

[8]ページ先頭

©2009-2025 Movatter.jp