Re: [PATCH] Staging: rtl8188eu fix buffer overflow

From: Dan Carpenter
Date: Fri Mar 20 2015 - 14:49:26 EST


On Fri, Mar 20, 2015 at 03:21:40PM +0100, Matteo Semenzato wrote:
> From: Matteo Semenzato <mattew8898@xxxxxxxxx>
>
> This patch fixes the buffer overflow caused by accessing index 4 of hwxmits.
>

This is a Smatch warning? It's a false positive because the code that
accesses hwxmits[4] is dead code. Just delete it that section.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/