mirror of
https://gitlab.com/gnuwget/wget2.git
synced 2025-07-24 10:01:36 +00:00
* libwget/http.c (wget_http_get_response_cb): Fix NULL ptr access
This commit is contained in:

committed by
Tim Rühsen

parent
e4f4052ddd
commit
c349a7eda7
@ -1051,6 +1051,7 @@ wget_http_response *wget_http_get_response_cb(wget_http_connection *conn)
|
||||
}
|
||||
}
|
||||
if (!nread) goto cleanup;
|
||||
if (!p) goto cleanup;
|
||||
|
||||
if (resp && resp->code == HTTP_STATUS_RANGE_NOT_SATISFIABLE) {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user