diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2016-10-12 13:38:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-13 17:59:45 +0300 |
commit | 9edebf11a4aa6349fecaedd673516fcf1999956a (patch) | |
tree | 6fb4ecd3d0b26dd6702dcffe6370fb0d28a9b065 /fs/quota | |
parent | baac789832ac91d477dc3c69f8d7bf84babd74cf (diff) | |
download | linux-9edebf11a4aa6349fecaedd673516fcf1999956a.tar.xz |
s390/netiucv: improve checking of sysfs attribute buffer
High values are always wrong for netiucv's sysfs attribute "buffer".
But the current code does not detect values between 2**31 and 2**32
as invalid. Choosing type "unsigned int" for variable "bs1" and making
use of "kstrtouint()" improves the syntax checking for "buffer".
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions