[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200624.145755.1271879668840297330.davem@davemloft.net>
Date: Wed, 24 Jun 2020 14:57:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: aelior@...vell.com, GR-everest-linux-l2@...vell.com,
kuba@...nel.org, michal.kalderon@...vell.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] qed: add missing error test for
DBG_STATUS_NO_MATCHING_FRAMING_MODE
From: Colin King <colin.king@...onical.com>
Date: Wed, 24 Jun 2020 11:13:02 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> The error DBG_STATUS_NO_MATCHING_FRAMING_MODE was added to the enum
> enum dbg_status however there is a missing corresponding entry for
> this in the array s_status_str. This causes an out-of-bounds read when
> indexing into the last entry of s_status_str. Fix this by adding in
> the missing entry.
>
> Addresses-Coverity: ("Out-of-bounds read").
> Fixes: 2d22bc8354b1 ("qed: FW 8.42.2.0 debug features")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thank you.
Powered by blists - more mailing lists