lkml.org 
[lkml]   [2020]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: systemport: fix index check to avoid an array out of bounds access
From
From: Colin King <colin.king@canonical.com>
Date: Thu, 12 Mar 2020 15:04:30 +0000

> From: Colin Ian King <colin.king@canonical.com>
>
> Currently the bounds check on index is off by one and can lead to
> an out of bounds access on array priv->filters_loc when index is
> RXCHK_BRCM_TAG_MAX.
>
> Fixes: bb9051a2b230 ("net: systemport: Add support for WAKE_FILTER")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied and queued up for -stable, thanks.

\
 
 \ /
  Last update: 2020-03-12 23:51    [W:0.032 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site