drivers/net/irda/irda-usb.c: fix buffer overflow
authorJos-Vicente Gilabert <josevteg@gmail.com>
Thu, 15 Jan 2009 04:55:00 +0000 (20:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2009 04:55:00 +0000 (20:55 -0800)
commit2950e952920811be465ec95c6b56f03dc66a05c0
tree6adf469d250084d31824282cfec874a7e074ba94
parent6f70340698333f14b1d9c9e913c5de8f66b72c55
drivers/net/irda/irda-usb.c: fix buffer overflow

Taken from http://bugzilla.kernel.org/show_bug.cgi?id=12397

We're doing an sprintf of an 11-char string into an 11-char buffer.
Whoops.  It breaks firmware uploading.

Reported-by: Jos-Vicente Gilabert <josevteg@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/irda-usb.c