mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 14:30:48 +00:00
fix curl uaf previous fix.
This commit is contained in:
parent
994a753bd0
commit
a5192af173
1 changed files with 2 additions and 2 deletions
|
@ -516,7 +516,7 @@ static void CL_ParseFileList(dlhandle_t *dl)
|
||||||
*/
|
*/
|
||||||
static void CL_ReVerifyHTTPQueue (void)
|
static void CL_ReVerifyHTTPQueue (void)
|
||||||
{
|
{
|
||||||
dlqueue_t *q = &cls.downloadQueue.next;
|
dlqueue_t *q = cls.downloadQueue.next;
|
||||||
|
|
||||||
pendingCount = 0;
|
pendingCount = 0;
|
||||||
|
|
||||||
|
@ -1036,7 +1036,7 @@ void CL_CancelHTTPDownloads(qboolean permKill)
|
||||||
abortDownloads = HTTPDL_ABORT_SOFT;
|
abortDownloads = HTTPDL_ABORT_SOFT;
|
||||||
}
|
}
|
||||||
|
|
||||||
dlqueue_t *q = &cls.downloadQueue.next;
|
dlqueue_t *q = cls.downloadQueue.next;
|
||||||
while (q)
|
while (q)
|
||||||
{
|
{
|
||||||
dlqueue_t *next = q->next;
|
dlqueue_t *next = q->next;
|
||||||
|
|
Loading…
Reference in a new issue