wil6210: Sanity check for reported DMA length
If Rx descriptor contains garbage, it is possible to access memory beyond allocated buffer. Check this condition and drop Rx if reported length is unreasonable large Signed-off-by:Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com> Git-commit: e270045b569cc7030abd29857f3a4e7906524ec0 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Liron Kuch <lkuch@codeaurora.org>
Loading
Please register or sign in to comment