Skip to content

Fix two crashes in dns probe module args handling#791

Merged
phillip-stephens merged 2 commits intozmap:mainfrom
droe:droe/fix-dns-noprobeargs-crash
Feb 24, 2024
Merged

Fix two crashes in dns probe module args handling#791
phillip-stephens merged 2 commits intozmap:mainfrom
droe:droe/fix-dns-noprobeargs-crash

Conversation

@droe
Copy link
Contributor

@droe droe commented Feb 24, 2024

Fix two crashes in the DNS probe module's argument handling:

  • Null pointer dereference on --probe-module=dns without --probe-args
  • Null pointer dereference on --probe-module=dns with --probe-args=""

@phillip-stephens phillip-stephens self-requested a review February 24, 2024 04:49
Copy link
Contributor

@phillip-stephens phillip-stephens left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for catching this @droe !

@phillip-stephens phillip-stephens merged commit 5e27eb1 into zmap:main Feb 24, 2024
@droe droe deleted the droe/fix-dns-noprobeargs-crash branch March 11, 2024 08:01
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