commit | e4c536b72fd6b25c7f4f9c6f293f43ba287b8e8f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Sep 14 09:56:00 2012 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 17 05:22:09 2012 -0700 |
tree | 3e84b0dbabe7b7932a83cca7ae62a46894c01820 | |
parent | a09b027882414f3e75398898905ffb1525056c55 [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Daniel Cotey <puff65537@bansheeslibrary.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>