Bugs item #3583103, was opened at 2012-11-04 00:23
Message generated for change (Tracker Item Submitted) made by phpor
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3583103&group_id=976
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: hang
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: 李 俊杰 (phpor)
Assigned to: Daniel Stenberg (bagder)
Summary: sometimes cycle forever in function Curl_llist_destroy
Initial Comment:
In this function , the "while" block will cyle forever when list->size > 0 and list->tail == null
========================================= in lib/llist.c
void
Curl_llist_destroy(struct curl_llist *list, void *user)
{
if(list) {
while(list->size > 0) // if list->size > 0 and list->tail == null then it will cycle forever
Curl_llist_remove(list, list->tail, user);
free(list);
}
}
======================================
version: all
OS: all
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3583103&group_id=976
Received on 2012-11-04