Adrien Schildknecht adrien+...@schischi.me writes:
Hi,
On 08/14/2015 03:36 AM, Adrien Schildknecht wrote:
Both loops of this function compare data from the 'chan' array and
then check if the index is valid.
The 2 conditions should be inverted to avoid an out-of-bounds
access.
Hi,
On 08/14/2015 03:36 AM, Adrien Schildknecht wrote:
Both loops of this function compare data from the 'chan' array and
then check if the index is valid.
The 2 conditions should be inverted to avoid an out-of-bounds
access.
Was that found by a static analyzer or any other
Both loops of this function compare data from the 'chan' array and then
check if the index is valid.
The 2 conditions should be inverted to avoid an out-of-bounds access.
Signed-off-by: Adrien Schildknecht adrien+...@schischi.me
---
drivers/net/wireless/iwlwifi/iwl-eeprom-parse.c | 4 ++--
1
Hi,
On 08/14/2015 03:36 AM, Adrien Schildknecht wrote:
Both loops of this function compare data from the 'chan' array and then
check if the index is valid.
The 2 conditions should be inverted to avoid an out-of-bounds access.
Was that found by a static analyzer or any other automated