[xml] valid.c xmlRemoveID PATCH



Hi, 

I wonder nobody noticed this before: xmlRemoveID actually desn't do
anything (which leads to deadly troubles if a node with an ID is
unlinked and freed, and then xmlGetID gets invoked on the ID).
xmlRemoveID expects the ID hash to return xmlAttrPtr instead of
xmlIDPtr (maybe old some API relict?). Anyway, a patch is attached ;-)

Thanks,
-- Petr

Attachment: valid.c.patch
Description: Text Data



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