From a5192af17311f2addbd1cf1f43b70b7976672d0d Mon Sep 17 00:00:00 2001 From: David Carlier Date: Wed, 25 Oct 2023 18:46:03 +0100 Subject: [PATCH] fix curl uaf previous fix. --- src/client/curl/download.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/curl/download.c b/src/client/curl/download.c index 39622546..6e9d79f3 100644 --- a/src/client/curl/download.c +++ b/src/client/curl/download.c @@ -516,7 +516,7 @@ static void CL_ParseFileList(dlhandle_t *dl) */ static void CL_ReVerifyHTTPQueue (void) { - dlqueue_t *q = &cls.downloadQueue.next; + dlqueue_t *q = cls.downloadQueue.next; pendingCount = 0; @@ -1036,7 +1036,7 @@ void CL_CancelHTTPDownloads(qboolean permKill) abortDownloads = HTTPDL_ABORT_SOFT; } - dlqueue_t *q = &cls.downloadQueue.next; + dlqueue_t *q = cls.downloadQueue.next; while (q) { dlqueue_t *next = q->next;