Re: [PATCH 2/2] net: bcmasp: Sanity check is off by one

From: Florian Fainelli
Date: Thu Feb 15 2024 - 17:17:50 EST


On 2/15/24 10:27, Justin Chen wrote:
A sanity check for OOB write is off by one leading to a false positive
when the array is full.

Fixes: 9b90aca97f6d ("net: ethernet: bcmasp: fix possible OOB write in bcmasp_netfilt_get_all_active()")
Signed-off-by: Justin Chen <justin.chen@xxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature