From: Dan Carpenter Date: Fri, 8 Nov 2013 09:24:19 +0000 (-0800) Subject: watchdog: pcwd_usb: overflow in usb_pcwd_send_command() X-Git-Tag: v3.13-rc1~42^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab5bbdc7015bb35c364ad5f3c955736b17d1acb6;p=pandora-kernel.git watchdog: pcwd_usb: overflow in usb_pcwd_send_command() We changed "buf" from being an array of 6 chars to being a pointer this sizeof(buf) needs to be updated as well. Fixes: 2ddb8089a7e5 ('watchdog: pcwd_usb: Use allocated buffer for usb_control_msg') Signed-off-by: Dan Carpenter Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed