From: Dan Carpenter Date: Thu, 24 Jan 2013 06:41:43 +0000 (+0300) Subject: staging: cxt1e1: buffer overflow in do_del_chan() X-Git-Tag: v3.9-rc1~127^2~316 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96a8d14e875a017f9e9e71d93433414e9fb8863f;p=pandora-kernel.git staging: cxt1e1: buffer overflow in do_del_chan() If we don't restrict "cp.channum" to 3 digits then the sprintf() will overflow. I've added a check and changed the sprintf() to snprintf(). Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed