From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Sutter Subject: Re: [iproute PATCH] macsec: fix input range of 'icvlen' parameter Date: Fri, 9 Sep 2016 16:15:44 +0200 Message-ID: <20160909141544.GQ5252@orbyte.nwl.cc> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Sabrina Dubroca , Stephen Hemminger To: Davide Caratti Return-path: Received: from orbyte.nwl.cc ([151.80.46.58]:35013 "EHLO mail.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750992AbcIIOPq (ORCPT ); Fri, 9 Sep 2016 10:15:46 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Sep 09, 2016 at 04:02:22PM +0200, Davide Caratti wrote: > the maximum possible ICV length in a MACsec frame is 16 octects, not 32: > fix get_icvlen() accordingly, so that a proper error message is displayed > in case input 'icvlen' is greater than 16. > > Signed-off-by: Davide Caratti Acked-by: Phil Sutter