Skip to content

DEV9: DNS Logger Crash fix#4940

Merged
lightningterror merged 1 commit into
PCSX2:masterfrom
TheLastRar:DEV9-DNSLoggerFix
Oct 28, 2021
Merged

DEV9: DNS Logger Crash fix#4940
lightningterror merged 1 commit into
PCSX2:masterfrom
TheLastRar:DEV9-DNSLoggerFix

Conversation

@TheLastRar

@TheLastRar TheLastRar commented Oct 25, 2021

Copy link
Copy Markdown
Contributor

Description of Changes

Access the correct array for additional information when logging DNS packets

Rationale behind Changes

Was previously logging the wrong information for additional information.
If the DNS server does not include additional information, but did provide authorities information a crash would occur.
This wasn't picked up before as DNS logging is disabled by default.

Suggested Testing Steps

Set EthLogDNS to 1 in DEV9.cfg
Connect to an online server (via a online multiplayer game, or with the Network access disc)
Christian's DNS server (45.7.228.197) would crash the DNS logger in master, but gets logged correctly in this PR

@github-actions github-actions Bot added the DEV9 label Oct 25, 2021
@lightningterror lightningterror merged commit 0dea6db into PCSX2:master Oct 28, 2021
@TheLastRar TheLastRar deleted the DEV9-DNSLoggerFix branch October 28, 2021 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants