Re: [EXT] [PATCH] qed: add missing error test for DBG_STATUS_NO_MATCHING_FRAMING_MODE

2020-06-25 Thread Igor Russkikh
Hi Colin! Thanks for catching this, indeed this was missed! > > /* DBG_STATUS_INVALID_FILTER_TRIGGER_DWORDS */ > "The filter/trigger constraint dword offsets are not enabled for > recording", > - > + /* DBG_STATUS_NO_MATCHING_FRAMING_MODE */ > + "No matching framing mode",

Re: [PATCH] qed: add missing error test for DBG_STATUS_NO_MATCHING_FRAMING_MODE

2020-06-24 Thread David Miller
From: Colin King Date: Wed, 24 Jun 2020 11:13:02 +0100 > From: Colin Ian King > > 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 >

[PATCH] qed: add missing error test for DBG_STATUS_NO_MATCHING_FRAMING_MODE

2020-06-24 Thread Colin King
From: Colin Ian King 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