can-bcm: fix minor heap overflow
authorOliver Hartkopp <socketcan@hartkopp.net>
Wed, 10 Nov 2010 12:10:30 +0000 (12:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Nov 2010 22:07:14 +0000 (14:07 -0800)
commit0597d1b99fcfc2c0eada09a698f85ed413d4ba84
treec66d570cfa83daadde69179557183dafeeab7ed8
parent6c4f199411f254bf3713b04ed8653f0955883309
can-bcm: fix minor heap overflow

On 64-bit platforms the ASCII representation of a pointer may be up to 17
bytes long. This patch increases the length of the buffer accordingly.

http://marc.info/?l=linux-netdev&m=128872251418192&w=2

Reported-by: Dan Rosenberg <drosenberg@vsecurity.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
CC: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/bcm.c