Commit 49f3e140 authored by Matthew Phillips's avatar Matthew Phillips Committed by ROOL
Browse files

Correction for discarding of the last cookie in the queue

After the for loop last->next will have been NULL and the call
to cookie_unlink_cookie expects the first parameter to be a pointer
to the variable where the head of the queue is stored, not a
pointer to the cookie to be discarded.

Version 1.07. Tagged as 'HTTP-1_07'
parent 50520a20
/* (1.06)
/* (1.07)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 1.06
#define Module_MajorVersion_CMHG 1.07
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 04 Dec 2021
#define Module_Date_CMHG 24 Jan 2022
#define Module_MajorVersion "1.06"
#define Module_Version 106
#define Module_MajorVersion "1.07"
#define Module_Version 107
#define Module_MinorVersion ""
#define Module_Date "04 Dec 2021"
#define Module_Date "24 Jan 2022"
#define Module_ApplicationDate "04-Dec-21"
#define Module_ApplicationDate "24-Jan-22"
#define Module_ComponentName "HTTP"
#define Module_FullVersion "1.06"
#define Module_HelpVersion "1.06 (04 Dec 2021)"
#define Module_LibraryVersionInfo "1:6"
#define Module_FullVersion "1.07"
#define Module_HelpVersion "1.07 (24 Jan 2022)"
#define Module_LibraryVersionInfo "1:7"
......@@ -270,8 +270,8 @@ static void add_cookie_to_queue(Cookie *cookie)
move_cookies_from_queue_to_list(0);
}
else {
cookie_unlink_cookie(&list, list->next);
destroy_cookie(list->next);
cookie_unlink_cookie(&cookie_queue_root, list);
destroy_cookie(list);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment