On Tue, Jul 12, 2016 at 12:14:47PM +0000, Jesuiter, Henry (ALC NetworX GmbH) wrote: > Hello, > > as a bug fix release, it may be useful if you consider my patch from last > Friday ([PATCH] Fix data type for return value of vasprintf()), > regarding the the data type issue in util.c. > > 'len2' is of type 'size_t' in util.c:451, but vasprintf in line 457 returns > '-1' on error which is checked in line 460. Currently > this check will always fail (regardless of the return value of vasprintf()), > according to its declaration as unsigned int.
Yes, that is a bug. I will include the fix in 1.7. Thanks, Richard ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users