[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[UDUNITS #FKF-573742]: udunits2 - issues from valgrind
- Subject: [UDUNITS #FKF-573742]: udunits2 - issues from valgrind
- Date: Mon, 21 Jul 2008 09:09:30 -0600
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