Would you please check libntp/systime.c

Matthew Selsky Matthew.Selsky at twosigma.com
Thu Jun 9 01:29:44 UTC 2016


On Tue, Jun 07, 2016 at 11:52:09AM -0700, Hal Murray wrote:
> 
> The initial symptom is a warning from clang  3.8.0 on a Raspberry Pi.
> 
> ../../libntp/systime.c:460:37: warning: variable 'tvlast' is uninitialized 
> when
> used here [-Wuninitialized]
> 
> Why didn't any of the other tools notice this?  The code isn't particularly 
> complicated.

clang as shipped with Xcode 7.3 did notice and an issue was raised:

https://gitlab.com/NTPsec/ntpsec/issues/51


Cheers,
-Matt


More information about the devel mailing list