| Summary: |
[SOUP] Null pointer dereference in ResourceLoader::didReceiveAuthenticationChallenge |
| Product: |
WebKit
|
Reporter: |
Michael Catanzaro <mcatanzaro> |
| Component: |
WebKitGTK | Assignee: |
Michael Catanzaro <mcatanzaro> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
Normal
|
CC: |
aperez, berto, bugs-noreply, cdumez, cgarcia, ews-watchlist, gustavo, mcatanzaro
|
| Priority: |
P2
|
|
|
| Version: |
WebKit Nightly Build | |
|
| Hardware: |
PC | |
|
| OS: |
Linux | |
|
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=224452
|
| Attachments: |
| Description |
Flags |
|
Patch
|
none
|
|
[840/1793] Building CXX object Source/WebCore/CMakeFiles/...vedSources/unified-sources/UnifiedSource-c57e08af-6.cpp.o In file included from WebCore/DerivedSources/unified-sources/UnifiedSource-c57e08af-6.cpp:3: ../../Source/WebCore/loader/ResourceLoader.cpp: In member function ‘virtual void WebCore::ResourceLoader::didReceiveAuthenticationChallenge(WebCore::ResourceHandle*, const WebCore::AuthenticationChallenge&)’: ../../Source/WebCore/loader/ResourceLoader.cpp:809:81: warning: ‘this’ pointer is null [-Wnonnull] 809 | challenge.authenticationClient()->receivedRequestToContinueWithoutCredential(challenge); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ At first I incorrectly thought this was a false positive, but in bug #224452, Chris noticed that our AuthenticationChallenge::authenticationClient now always returns nullptr. That is no good. Carlos, I guess this is not quite what you had intended?