mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Merge pull request #1069 from devnexen/fix_bug_fix
fix curl uaf previous fix.
This commit is contained in:
commit
ad9c115840
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