Re: [PATCH] ntp: verify offset doesn't overflow in ntp_update_offset

2015-12-07 Thread Sasha Levin
On 12/07/2015 07:02 PM, John Stultz wrote: > On Thu, Dec 3, 2015 at 12:46 PM, Sasha Levin wrote: >> > We need to make sure that the offset is valid before manipulating it, >> > otherwise it might overflow on the multiplication. >> > >> > Signed-off-by: Sasha Levin >> > --- >> > kernel/time/ntp.c

Re: [PATCH] ntp: verify offset doesn't overflow in ntp_update_offset

2015-12-07 Thread John Stultz
On Thu, Dec 3, 2015 at 12:46 PM, Sasha Levin wrote: > We need to make sure that the offset is valid before manipulating it, > otherwise it might overflow on the multiplication. > > Signed-off-by: Sasha Levin > --- > kernel/time/ntp.c |6 -- > 1 file changed, 4 insertions(+), 2 deletions(

Re: [PATCH] ntp: verify offset doesn't overflow in ntp_update_offset

2015-12-04 Thread John Stultz
On Thu, Dec 3, 2015 at 12:46 PM, Sasha Levin wrote: > We need to make sure that the offset is valid before manipulating it, > otherwise it might overflow on the multiplication. > > Signed-off-by: Sasha Levin Thanks for sending this in. I've queued it for 4.5 thanks -john -- To unsubscribe from

[PATCH] ntp: verify offset doesn't overflow in ntp_update_offset

2015-12-03 Thread Sasha Levin
We need to make sure that the offset is valid before manipulating it, otherwise it might overflow on the multiplication. Signed-off-by: Sasha Levin --- kernel/time/ntp.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 149cc