summaryrefslogtreecommitdiffstats
path: root/drivers/char/ds1620.c
diff options
context:
space:
mode:
authorDan Carpenter2019-02-22 20:55:30 +0100
committerCorey Minyard2019-02-22 21:59:25 +0100
commit038903593317691cf5f87ba1286627f5e8ab5660 (patch)
tree814065d11cddf10ce3abeb139e6509c5c50b01c3 /drivers/char/ds1620.c
parentipmi_si: Remove hacks for adding a dummy platform devices (diff)
downloadkernel-qcow2-linux-038903593317691cf5f87ba1286627f5e8ab5660.tar.gz
kernel-qcow2-linux-038903593317691cf5f87ba1286627f5e8ab5660.tar.xz
kernel-qcow2-linux-038903593317691cf5f87ba1286627f5e8ab5660.zip
ipmi_si: Potential array underflow in hotmod_handler()
The "ival" variable needs to signed so that we don't read before the start of the str[] array. This would only happen the user passed in a module parameter that was just comprised of space characters. Fixes: e80444ae4fc3 ("ipmi_si: Switch hotmod to use a platform device") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Message-Id: <20190222195530.GA306@kadam> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ds1620.c')
0 files changed, 0 insertions, 0 deletions