diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-09-14 08:11:35 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-17 12:22:09 (GMT) |
commit | 82e6bb03983f265d06f2573e48e1cc0ae94d959a (patch) | |
tree | 57f64f8934e3fe17837dff917665083a8ca3d4d1 /fs/ntfs/attrib.c | |
parent | e4c536b72fd6b25c7f4f9c6f293f43ba287b8e8f (diff) | |
download | linux-fsl-qoriq-82e6bb03983f265d06f2573e48e1cc0ae94d959a.tar.xz |
Staging: silicom: use kstrtoint_from_user()
The main problem with the hand rolled code was that there weren't any
range checks so you could corrupt memory by writing too much data to
the proc file.
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>
Diffstat (limited to 'fs/ntfs/attrib.c')
0 files changed, 0 insertions, 0 deletions