Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#10113) genlist_unlink_all bug
Home

[Freeciv-Dev] Re: (PR#10113) genlist_unlink_all bug

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#10113) genlist_unlink_all bug
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Sep 2004 15:56:42 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10113 >

Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10113 >
> 
> Apparently nobody uses genlist_unlink_all.  There's a bug because of a 
> missing NULL check.

Sorry, the bug is in genlist_unlink not genlist_unlink_all.  It only 
happens if you unlink an element that's in the list.  While allowed, 
this is probably not what you want to be doing.  It occurrs if you try 
to connect twice to a server with the same username.

jason




[Prev in Thread] Current Thread [Next in Thread]