Skip to content

Fix segfault in case of Basic Authentication with HTTP2

Darshit Shah requested to merge gh-7d63e876/94/darnir/fix-auth into master

When using HTTP/2 with basic authentication, the event loop sets jobs to NULL before processing the 401 Unauthorized response. This causes us to dereference a NULL pointer which causes a segfault.

  • src/wget.c(downloader_thread): Ensure job exists before trying to dereference it

Merge request reports