René's URL Explorer Experiment


Title: Fix NPE in SimpleResolver by PhroZenOne · Pull Request #277 · dnsjava/dnsjava · GitHub

Open Graph Title: Fix NPE in SimpleResolver by PhroZenOne · Pull Request #277 · dnsjava/dnsjava

X Title: Fix NPE in SimpleResolver by PhroZenOne · Pull Request #277 · dnsjava/dnsjava

Description: When reading a response that is REFUSED with no more data. The code could crash while comparing the DNS query with the response. This change skips the comparison if the response is denied.

Open Graph Description: When reading a response that is REFUSED with no more data. The code could crash while comparing the DNS query with the response. This change skips the comparison if the response is denied.

X Description: When reading a response that is REFUSED with no more data. The code could crash while comparing the DNS query with the response. This change skips the comparison if the response is denied.

Opengraph URL: https://github.com/dnsjava/dnsjava/pull/277

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d089789b-f9b4-7129-88af-714418f8cb51
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD1D8:2AB24:1BB2086:2570127:6970767A
html-safe-nonceca2b0bef3804ce2fbbfd5f60a24ab50dc200a3d1e07fa50d84c1a6bcb75b4b3b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUQ4OjJBQjI0OjFCQjIwODY6MjU3MDEyNzo2OTcwNzY3QSIsInZpc2l0b3JfaWQiOiI2MDgyMzA0MzEwMDY4MTQ3ODM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac026469ea1cfc307a03b5f2edf8799602319add49b76e52805db44158a35fe1f9
hovercard-subject-tagpull_request:1218054094
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/dnsjava/dnsjava/277/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7ec401eb2bbd051580a1abd476adc74a8bf464e096685037c0e40b9412a2bfbf/dnsjava/dnsjava/pull/277
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ec401eb2bbd051580a1abd476adc74a8bf464e096685037c0e40b9412a2bfbf/dnsjava/dnsjava/pull/277
og:image:altWhen reading a response that is REFUSED with no more data. The code could crash while comparing the DNS query with the response. This change skips the comparison if the response is denied.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePhroZenOne
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
go-importgithub.com/dnsjava/dnsjava git https://github.com/dnsjava/dnsjava.git
octolytics-dimension-user_id6755615
octolytics-dimension-user_logindnsjava
octolytics-dimension-repository_id17084567
octolytics-dimension-repository_nwodnsjava/dnsjava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17084567
octolytics-dimension-repository_network_root_nwodnsjava/dnsjava
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7d6181066430cc06553c8396ca201e194ae33cb9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/dnsjava/dnsjava/pull/277#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F277
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F277
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=dnsjava%2Fdnsjava
Reloadhttps://github.com/dnsjava/dnsjava/pull/277
Reloadhttps://github.com/dnsjava/dnsjava/pull/277
Reloadhttps://github.com/dnsjava/dnsjava/pull/277
dnsjava https://github.com/dnsjava
dnsjavahttps://github.com/dnsjava/dnsjava
Notifications https://github.com/login?return_to=%2Fdnsjava%2Fdnsjava
Fork 259 https://github.com/login?return_to=%2Fdnsjava%2Fdnsjava
Star 1.1k https://github.com/login?return_to=%2Fdnsjava%2Fdnsjava
Code https://github.com/dnsjava/dnsjava
Issues 13 https://github.com/dnsjava/dnsjava/issues
Pull requests 2 https://github.com/dnsjava/dnsjava/pulls
Actions https://github.com/dnsjava/dnsjava/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/dnsjava/dnsjava/security
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/277
Insights https://github.com/dnsjava/dnsjava/pulse
Code https://github.com/dnsjava/dnsjava
Issues https://github.com/dnsjava/dnsjava/issues
Pull requests https://github.com/dnsjava/dnsjava/pulls
Actions https://github.com/dnsjava/dnsjava/actions
Security https://github.com/dnsjava/dnsjava/security
Insights https://github.com/dnsjava/dnsjava/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdnsjava%2Fdnsjava%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdnsjava%2Fdnsjava%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/dnsjava/dnsjava/pull/277#issue-comment-box
ibauersachshttps://github.com/ibauersachs
dnsjava:masterhttps://github.com/dnsjava/dnsjava/tree/master
Fix NPE in SimpleResolver https://github.com/dnsjava/dnsjava/pull/277#top
ibauersachshttps://github.com/ibauersachs
dnsjava:masterhttps://github.com/dnsjava/dnsjava/tree/master
Conversation 6 https://github.com/dnsjava/dnsjava/pull/277
Commits 1 https://github.com/dnsjava/dnsjava/pull/277/commits
Checks 0 https://github.com/dnsjava/dnsjava/pull/277/checks
Files changed 2 https://github.com/dnsjava/dnsjava/pull/277/files
https://github.co/hiddenchars
https://github.com/dnsjava/dnsjava/pull/{{ revealButtonHref }}
https://github.com/PhroZenOne
PhroZenOnehttps://github.com/PhroZenOne
Jan 26, 2023https://github.com/dnsjava/dnsjava/pull/277#issue-1558341882
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/277
https://github.com/codecov-commenter
codecov-commenterhttps://github.com/codecov-commenter
Jan 26, 2023https://github.com/dnsjava/dnsjava/pull/277#issuecomment-1405206834
Codecovhttps://codecov.io/gh/dnsjava/dnsjava/pull/277?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava
(f348300)https://codecov.io/gh/dnsjava/dnsjava/pull/277?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava
(442fff4)https://codecov.io/gh/dnsjava/dnsjava/commit/442fff463e782bcafc448555bd7af7f63c92dbe1?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava
GitHub App Integrationhttps://github.com/apps/codecov
Learn morehttps://about.codecov.io/blog/codecov-is-updating-its-github-integration/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava
Impacted Fileshttps://codecov.io/gh/dnsjava/dnsjava/pull/277?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava
src/main/java/org/xbill/DNS/SimpleResolver.javahttps://codecov.io/gh/dnsjava/dnsjava/pull/277?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava#diff-c3JjL21haW4vamF2YS9vcmcveGJpbGwvRE5TL1NpbXBsZVJlc29sdmVyLmphdmE=
src/main/java/org/xbill/DNS/NioTcpClient.javahttps://codecov.io/gh/dnsjava/dnsjava/pull/277?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava#diff-c3JjL21haW4vamF2YS9vcmcveGJpbGwvRE5TL05pb1RjcENsaWVudC5qYXZh
src/main/java/org/xbill/DNS/DohResolver.javahttps://codecov.io/gh/dnsjava/dnsjava/pull/277?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava#diff-c3JjL21haW4vamF2YS9vcmcveGJpbGwvRE5TL0RvaFJlc29sdmVyLmphdmE=
src/main/java/org/xbill/DNS/Message.javahttps://codecov.io/gh/dnsjava/dnsjava/pull/277?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava#diff-c3JjL21haW4vamF2YS9vcmcveGJpbGwvRE5TL01lc3NhZ2UuamF2YQ==
how you rate ushttps://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava
Share it here.https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava
☔ View full report at Codecovhttps://codecov.io/gh/dnsjava/dnsjava/pull/277?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava
Let us know in this issuehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dnsjava
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/277
https://github.com/ibauersachs
ibauersachshttps://github.com/ibauersachs
Jan 27, 2023https://github.com/dnsjava/dnsjava/pull/277#issuecomment-1406925021
RFC 5452, 9.1https://www.rfc-editor.org/rfc/rfc5452.html#section-9.1
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/277
https://github.com/PhroZenOne
Fix NPE in SimpleResolverhttps://github.com/dnsjava/dnsjava/pull/277/commits/6bb107af1e50e89f1b4559de8efeef705ce4bc13
6bb107ahttps://github.com/dnsjava/dnsjava/pull/277/commits/6bb107af1e50e89f1b4559de8efeef705ce4bc13
https://github.com/PhroZenOne
PhroZenOnehttps://github.com/PhroZenOne
Jan 30, 2023https://github.com/dnsjava/dnsjava/pull/277#issuecomment-1408340435
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/277
https://github.com/PhroZenOne
PhroZenOnehttps://github.com/PhroZenOne
Feb 3, 2023https://github.com/dnsjava/dnsjava/pull/277#issuecomment-1415457417
@ibauersachshttps://github.com/ibauersachs
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/277
https://github.com/ibauersachs
ibauersachshttps://github.com/ibauersachs
Feb 3, 2023https://github.com/dnsjava/dnsjava/pull/277#issuecomment-1416136365
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/277
https://github.com/ibauersachs
ibauersachshttps://github.com/ibauersachs
bd5177dhttps://github.com/dnsjava/dnsjava/commit/bd5177d8e57172ff95e7407ff94fb6d8382767ce
Feb 5, 2023https://github.com/dnsjava/dnsjava/pull/277#event-8440549737
https://github.com/ibauersachs
ibauersachshttps://github.com/ibauersachs
Feb 5, 2023https://github.com/dnsjava/dnsjava/pull/277#issuecomment-1418051539
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/277
https://github.com/ibauersachs
ibauersachshttps://github.com/ibauersachs
v3.6https://github.com/dnsjava/dnsjava/milestone/14
Feb 5, 2023https://github.com/dnsjava/dnsjava/pull/277#event-8440550729
https://github.com/ibauersachs
ibauersachshttps://github.com/ibauersachs
bug https://github.com/dnsjava/dnsjava/issues?q=state%3Aopen%20label%3Abug
Feb 5, 2023https://github.com/dnsjava/dnsjava/pull/277#event-8440550986
https://github.com/javier-godoy
javier-godoyhttps://github.com/javier-godoy
Apr 20, 2024 https://github.com/dnsjava/dnsjava/pull/277#ref-issue-2254757355
SimpleResolver fails when UPDATE response has ZOCOUNT equals to 0. #322 https://github.com/dnsjava/dnsjava/issues/322
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F277
bug https://github.com/dnsjava/dnsjava/issues?q=state%3Aopen%20label%3Abug
v3.6 https://github.com/dnsjava/dnsjava/milestone/14
Please reload this pagehttps://github.com/dnsjava/dnsjava/pull/277
https://github.com/PhroZenOne
https://github.com/codecov-commenter
https://github.com/ibauersachs
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.