]> git.baikalelectronics.ru Git - kernel.git/commit
irda: small read beyond end of array in debug code
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 Feb 2013 19:15:02 +0000 (19:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2013 18:10:35 +0000 (13:10 -0500)
commit3a8aa211046c49b603e77ad4affc63f4125f78ce
treec2caac0d94e2d4d75090947c2e45be0e359adb65
parent6d9d10b55d64608952dd734bfc2e4116ac9f4a4a
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: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/iriap.c