Skip to content
Commit 90c7881e authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

irda: small read beyond end of array in debug code



charset comes from skb->data.  It's a number in the 0-255 range.
If we have debugging turned on then this could cause a read beyond
the end of the array.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e70ab977
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment