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

[UDUNITS #FKF-573742]: udunits2 - issues from valgrind



Mike,

> While debugging an app with valgrind, I noticed some possible errors
> related to the udunits2 package. Please see attached .txt file.
> 
> (a) Source and destination overlap in strncpy
> 
> This seems pretty minor - as a test I added a temporary string (base1)
> and valgrind was happy. See code in text file.

Thanks.  I already knew about this and fixed it.  I haven't released it
yet, though.

> (b) Memory leak.
> 
> I inspected the code, and I cannot see the problem. 'prev' seems to be
> freed OK. So perhaps it is not a real problem, but I thought I'd pass it
> on in case you can find an error.

Can't say that I can see anything wrong.  The referenced code is generated
by the flex(1) utility, so I'd rather not mess with it unless it becomes
necessary.

> Thanks
> 
> Mike Dixon

Thank you!

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: FKF-573742
Department: Support UDUNITS
Priority: Normal
Status: Closed


pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy