From: Dan Carpenter Date: Fri, 14 Sep 2012 06:56:00 +0000 (+0300) Subject: Staging: silicom: add some range checks to proc functions X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~191 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4c536b72fd6b25c7f4f9c6f293f43ba287b8e8f;p=pandora-kernel.git Staging: silicom: add some range checks to proc functions If you tried to cat more than 255 characters (the last character is for the terminator) to these proc files then it would corrupt kernel memory. Signed-off-by: Dan Carpenter Signed-off-by: Daniel Cotey Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed