Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4b93898a545affdf81989b1df86324c6aff889ac https://github.com/WebKit/WebKit/commit/4b93898a545affdf81989b1df86324c6aff889ac Author: Alex Christensen <achristen...@apple.com> Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths: M Source/WebCore/platform/network/cf/DNSResolveQueueCFNet.cpp Log Message: ----------- Don't dereference null when DNSServiceGetAddrInfo fails immediately https://bugs.webkit.org/show_bug.cgi?id=257977 rdar://110383873 Reviewed by David Kilzer. Ref::leakRef sets the pointer to null, then we were using that value. With some code modification I verified that this is what was happening in the crash reports. * Source/WebCore/platform/network/cf/DNSResolveQueueCFNet.cpp: (WebCore::DNSResolveQueueCFNet::performDNSLookup): Canonical link: https://commits.webkit.org/265086@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes