Skip to content
Snippets Groups Projects
Commit 5d5ceb8b authored by Roel Kluin's avatar Roel Kluin Committed by David S. Miller
Browse files

irda: fix read buffer overflow


io[i] is read before the bounds check on i, order should be reversed.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb2f33e9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment