From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [iproute PATCH] macsec: fix input range of 'icvlen' parameter Date: Tue, 20 Sep 2016 09:49:05 -0700 Message-ID: <20160920094905.19a4c837@xeon-e3> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Sabrina Dubroca , Phil Sutter To: Davide Caratti Return-path: Received: from mail-pf0-f178.google.com ([209.85.192.178]:32847 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932853AbcITQsz (ORCPT ); Tue, 20 Sep 2016 12:48:55 -0400 Received: by mail-pf0-f178.google.com with SMTP id 21so9187263pfy.0 for ; Tue, 20 Sep 2016 09:48:55 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 9 Sep 2016 16:02:22 +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 Applied