linux-sg2042/drivers/char/ipmi
Dan Carpenter 0389035933 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>
2019-02-22 14:59:25 -06:00
..
Kconfig ipmi: Consolidate the adding of platform devices 2019-02-22 07:12:41 -06:00
Makefile ipmi: Consolidate the adding of platform devices 2019-02-22 07:12:41 -06:00
bt-bmc.c ipmi: Add or fix SPDX-License-Identifier in all files 2018-02-27 07:42:51 -06:00
ipmi_bt_sm.c ipmi: Convert pr_xxx() to dev_xxx() in the BT code 2018-09-18 16:15:33 -05:00
ipmi_devintf.c ipmi: Fix return value when a message is truncated 2019-02-09 19:48:42 -06:00
ipmi_dmi.c ipmi: Consolidate the adding of platform devices 2019-02-22 07:12:41 -06:00
ipmi_dmi.h ipmi: Consolidate the adding of platform devices 2019-02-22 07:12:41 -06:00
ipmi_kcs_sm.c ipmi: Convert printk(KERN_<level> to pr_<level>( 2018-09-18 16:15:33 -05:00
ipmi_msghandler.c ipmi: Use dedicated API for copying a UUID 2019-02-09 19:48:43 -06:00
ipmi_plat_data.c ipmi: Consolidate the adding of platform devices 2019-02-22 07:12:41 -06:00
ipmi_plat_data.h ipmi: Consolidate the adding of platform devices 2019-02-22 07:12:41 -06:00
ipmi_powernv.c ipmi:powernv: Convert ipmi_smi_t to struct ipmi_smi 2018-09-18 16:15:33 -05:00
ipmi_poweroff.c ipmi: Use more common logging styles 2018-09-18 16:15:33 -05:00
ipmi_si.h ipmi_si: Consolidate scanning the platform bus 2019-02-22 07:12:41 -06:00
ipmi_si_hardcode.c ipmi_si: Consolidate scanning the platform bus 2019-02-22 07:12:41 -06:00
ipmi_si_hotmod.c ipmi_si: Potential array underflow in hotmod_handler() 2019-02-22 14:59:25 -06:00
ipmi_si_intf.c ipmi_si: Remove hacks for adding a dummy platform devices 2019-02-22 07:12:41 -06:00
ipmi_si_mem_io.c ipmi_si: fix use-after-free of resource->name 2019-02-09 19:48:41 -06:00
ipmi_si_parisc.c ipmi_si: Rename addr_type to addr_space to match what it does 2019-02-22 07:12:41 -06:00
ipmi_si_pci.c ipmi_si: Rename addr_type to addr_space to match what it does 2019-02-22 07:12:41 -06:00
ipmi_si_platform.c ipmi_si: Consolidate scanning the platform bus 2019-02-22 07:12:41 -06:00
ipmi_si_port_io.c ipmi_si: fix use-after-free of resource->name 2019-02-09 19:48:41 -06:00
ipmi_si_sm.h ipmi_si: Rename addr_type to addr_space to match what it does 2019-02-22 07:12:41 -06:00
ipmi_smic_sm.c ipmi: Convert printk(KERN_<level> to pr_<level>( 2018-09-18 16:15:33 -05:00
ipmi_ssif.c ipmi:ssif: Change some pr_xxx to dev_xxx calls 2019-02-09 19:48:42 -06:00
ipmi_watchdog.c ipmi: Use more common logging styles 2018-09-18 16:15:33 -05:00
kcs_bmc.c ipmi: kcs_bmc: handle devm_kasprintf() failure case 2019-02-09 19:48:42 -06:00
kcs_bmc.h ipmi: kcs_bmc: coding-style fixes and use new poll type 2018-02-26 09:49:21 -06:00
kcs_bmc_aspeed.c ipmi: kcs_bmc: coding-style fixes and use new poll type 2018-02-26 09:49:21 -06:00
kcs_bmc_npcm7xx.c ipmi: NPCM7xx KCS BMC: enable interrupt to the host 2018-05-23 08:29:23 -05:00