Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756553AbbLDU1M (ORCPT ); Fri, 4 Dec 2015 15:27:12 -0500 Received: from mail-yk0-f169.google.com ([209.85.160.169]:36624 "EHLO mail-yk0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755974AbbLDU1K (ORCPT ); Fri, 4 Dec 2015 15:27:10 -0500 MIME-Version: 1.0 In-Reply-To: <1449198571-21133-1-git-send-email-sasha.levin@oracle.com> References: <1449198571-21133-1-git-send-email-sasha.levin@oracle.com> Date: Fri, 4 Dec 2015 12:27:09 -0800 Message-ID: Subject: Re: [PATCH] time: verify time values in adjtimex ADJ_SETOFFSET to avoid overflow From: John Stultz To: Sasha Levin Cc: Thomas Gleixner , lkml Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 563 Lines: 15 On Thu, Dec 3, 2015 at 7:09 PM, Sasha Levin wrote: > Make sure the tv_usec makes sense. We might multiply them later which can > cause an overflow and undefined behavior. > > Signed-off-by: Sasha Levin Thanks for sending this in. I've queued it for 4.5 thanks -john -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/