On Mon, Mar 22, 2021 at 05:04:04PM +0100, Miroslav Lichvar wrote: > This fixes errors reported by the -fsanitize=undefined sanitizer. > > Before accepting the message interval value from a sync message, check > if it is between -10 and 22, same as required for the delay request > interval. > > In the calculation of fest/stats/nrate max_count use unsigned 1 to avoid > an invalid shift by 31. > > In tmv.h operations cast values to uint64_t to avoid signed overflows > and a left-shift of a negative value. > > Signed-off-by: Miroslav Lichvar <mlich...@redhat.com>
Applied. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel