Title: [276471] trunk/Source/WebCore
- Revision
- 276471
- Author
- [email protected]
- Date
- 2021-04-22 15:31:02 -0700 (Thu, 22 Apr 2021)
Log Message
[SOUP] Null pointer dereference in ResourceLoader::didReceiveAuthenticationChallenge
https://bugs.webkit.org/show_bug.cgi?id=224838
Patch by Michael Catanzaro <[email protected]> on 2021-04-22
Reviewed by Adrian Perez de Castro.
Add a RELEASE_ASSERT_NOT_REACHED() to avoid this warning.
* platform/network/soup/AuthenticationChallenge.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (276470 => 276471)
--- trunk/Source/WebCore/ChangeLog 2021-04-22 22:24:47 UTC (rev 276470)
+++ trunk/Source/WebCore/ChangeLog 2021-04-22 22:31:02 UTC (rev 276471)
@@ -1,3 +1,14 @@
+2021-04-22 Michael Catanzaro <[email protected]>
+
+ [SOUP] Null pointer dereference in ResourceLoader::didReceiveAuthenticationChallenge
+ https://bugs.webkit.org/show_bug.cgi?id=224838
+
+ Reviewed by Adrian Perez de Castro.
+
+ Add a RELEASE_ASSERT_NOT_REACHED() to avoid this warning.
+
+ * platform/network/soup/AuthenticationChallenge.h:
+
2021-04-22 Patrick Griffis <[email protected]>
[SOUP] Show more connection information in the inspector
Modified: trunk/Source/WebCore/platform/network/soup/AuthenticationChallenge.h (276470 => 276471)
--- trunk/Source/WebCore/platform/network/soup/AuthenticationChallenge.h 2021-04-22 22:24:47 UTC (rev 276470)
+++ trunk/Source/WebCore/platform/network/soup/AuthenticationChallenge.h 2021-04-22 22:31:02 UTC (rev 276471)
@@ -45,7 +45,7 @@
}
AuthenticationChallenge(SoupMessage*, SoupAuth*, bool retrying);
- AuthenticationClient* authenticationClient() const { return nullptr; }
+ AuthenticationClient* authenticationClient() const { RELEASE_ASSERT_NOT_REACHED(); }
#if USE(SOUP2)
SoupMessage* soupMessage() const { return m_soupMessage.get(); }
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes