1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:38:10 +00:00
serenity/Userland/Services/ProtocolServer
Andreas Kling 971425d7b1 ProtocolServer: Fix null dereference in HTTP/HTTPS job finish callback
The consolidation of the initialization code between HTTP and HTTPS
downloads was capturing the "job" local by reference, which was not safe
after we left the init() scope.

Fix this by getting the HTTP::Job from the Download object instead.
2021-01-16 11:50:48 +01:00
..
ClientConnection.cpp Everywhere: Remove a bunch of <AK/SharedBuffer.h> includes 2021-01-16 11:26:53 +01:00
ClientConnection.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
CMakeLists.txt Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Download.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Download.h Http[s]Download: Make the constructor's initialization DRY 2021-01-15 21:50:49 +01:00
Forward.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
GeminiDownload.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
GeminiDownload.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
GeminiProtocol.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
GeminiProtocol.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
HttpCommon.h ProtocolServer: Fix null dereference in HTTP/HTTPS job finish callback 2021-01-16 11:50:48 +01:00
HttpDownload.cpp Http[s]Download: Make the constructor's initialization DRY 2021-01-15 21:50:49 +01:00
HttpDownload.h ProtocolServer: Fix null dereference in HTTP/HTTPS job finish callback 2021-01-16 11:50:48 +01:00
HttpProtocol.cpp Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
HttpProtocol.h Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
HttpsDownload.cpp Http[s]Download: Make the constructor's initialization DRY 2021-01-15 21:50:49 +01:00
HttpsDownload.h ProtocolServer: Fix null dereference in HTTP/HTTPS job finish callback 2021-01-16 11:50:48 +01:00
HttpsProtocol.cpp Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
HttpsProtocol.h Http[s]Protocol: Make the code start_download DRY 2021-01-15 09:44:21 +01:00
main.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Protocol.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Protocol.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
ProtocolClient.ipc Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
ProtocolServer.ipc Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00