summaryrefslogtreecommitdiffstats
path: root/drivers/char/nwflash.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2021-11-25 15:47:27 +0100
committerCorey Minyard <cminyard@mvista.com>2021-11-26 04:17:55 +0100
commitd2c12f56fa97df216e71437b218ffbeeb4dd46aa (patch)
treebf9f97d08f841a395cb62f70cdbd6a785d8ad386 /drivers/char/nwflash.c
parentipmi: fix oob access due to uninit smi_msg type (diff)
downloadlinux-d2c12f56fa97df216e71437b218ffbeeb4dd46aa.tar.xz
linux-d2c12f56fa97df216e71437b218ffbeeb4dd46aa.zip
ipmi: fix IPMI_SMI_MSG_TYPE_IPMB_DIRECT response length checking
A couple of issues: The tested data sizes are wrong; during the design that changed and this got missed. The formatting of the reponse couldn't use the normal one, it has to be an IPMB formatted response. Reported-by: Jakub Kicinski <kuba@kernel.org> Fixes: 059747c245f0 ("ipmi: Add support for IPMB direct messages") Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/nwflash.c')
0 files changed, 0 insertions, 0 deletions