[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ccrtp-devel] Bug in removeDestinationFromList

From: Sigrid Thijs
Subject: [Ccrtp-devel] Bug in removeDestinationFromList
Date: Mon, 12 Jul 2004 11:58:50 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113


I noticed two little bugs in the function removeDestinationFromList of DestinationListHandler. - If the specified destination is found, the TransportAddress 'ta' object is deleted, but not set to NULL, as a result of which the condition of the while loop will succeed in the following iteration and
  there will be an access violation in the following if-test
- When the first destination is removed from the destinationlist, the firstDestination pointer keeps pointing to the deleted object (which will cause an access violation too, the next time this pointer is

Kind regards,
Sigrid Thijs

reply via email to

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