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

[UDUNITS #JFZ-220995]: memory leaks in udunits2



Sue,

> I sent these before in the Fall
> and just downloaded a new udunits2 package and
> I dont think anything has been fixed.
> 
> Output from valgrind:
> ==5507== Source and destination overlap in strncpy(0xBEC91BB6, 0xBEC91BB6, 
> 256)
> ==5507==    at 0x401EE64: strncpy (mc_replace_strmem.c:116)
> ==5507==    by 0x4088F9E: readXml (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408936E: ut_read_xml (in /opt/lib/libudunits2.so.0.0.0)
> ...
> 
> ==5507==
> ==5507== Source and destination overlap in strncpy(0xBEC8F596, 0xBEC8F596, 
> 256)
> ==5507==    at 0x401EE64: strncpy (mc_replace_strmem.c:116)
> ==5507==    by 0x4088F9E: readXml (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408B543: endElement (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x4090EF2: doContent (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x40917B9: contentProcessor (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x4091BD9: prologProcessor (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x4092FC4: prologInitProcessor (in 
> /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408BB6D: XML_ParseBuffer (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408D781: XML_Parse (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408920A: readXml (in /opt/lib/libudunits2.so.0.0.0)
> ==5507==    by 0x408936E: ut_read_xml (in /opt/lib/libudunits2.so.0.0.0)
> ...

Actually, these have been fixed.  I just haven't gotten around to
making a new release because I need to add two more functions to
the API and I'm currently working on another project.

> Thanks,
> Sue

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: JFZ-220995
Department: Support UDUNITS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.