Re: [Linuxptp-users] [Linuxptp-devel] Planning release 1.7
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2016-07-12 12:45:55
|
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 |