irda: Fix heap memory corruption in iriap.c
authorSamuel Ortiz <samuel@sortiz.org>
Tue, 5 Oct 2010 23:03:12 +0000 (01:03 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 11 Oct 2010 00:12:26 +0000 (02:12 +0200)
commit37f9fc452d138dfc4da2ee1ce5ae85094efc3606
treef2c35efb2269f237efe69f6a1ef5986f784465c5
parentefc463eb508798da4243625b08c7396462cabf9f
irda: Fix heap memory corruption in iriap.c

While parsing the GetValuebyClass command frame, we could potentially write
passed the skb->data pointer.

Cc: stable@kernel.org
Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
net/irda/iriap.c