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
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.