W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2001

HTAnchor_delete ?

From: Anton Belov -- Customer Engineering <antonb@scot.canada.sun.com>
Date: Fri, 2 Mar 2001 12:40:44 -0500 (EST)
Message-Id: <200103021740.MAA22418@rayo.canada.sun.com>
To: www-lib@w3.org
Hi !

For some reason HTAnchor_delete doesn't remove the reference to the deleted 
anchor from the adult_table[] hash table, so if i happen to request another 
anchor for the same URL, the hash table contains a pointer to the anchor that 
already has been deleted, which in term causes exception:

HTAnchor * anch = HTAnchor_findAddress("http://something/something");
anch = HTAnchor_findAddress("http://something/something"); <-- SIGSEGV here !!!!

Is this a bug, or am i missing something ?

Thank you for your help !!!!

Best Regards,


Anton Belov
Sun Microsystems Americas Customer Engineering
Ph. (905)415-2841  Fax. (905)477-0217
Received on Friday, 2 March 2001 12:44:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:53 UTC