From: Eric Dumazet <eduma...@google.com>
Date: Tue, 19 May 2020 18:24:43 -0700

> syzbot was able to trigger this trace [1], probably by using
> a zero optlen.
> 
> While we are at it, cap optlen to IFNAMSIZ - 1 instead of IFNAMSIZ.
> 
> [1]
 ...
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Eric Dumazet <eduma...@google.com>
> Reported-by: syzbot <syzkal...@googlegroups.com>

Applied and queued up for -stable with s/ax24/ax25/, thanks.

Reply via email to