Skip to content
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

DEV9: DNS Logger Crash fix #4940

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

TheLastRar
Copy link
Contributor

@TheLastRar TheLastRar commented Oct 25, 2021

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