Skip to content
Commit 6de65fcf authored by Joeseph Chang's avatar Joeseph Chang Committed by Corey Minyard
Browse files

ipmi: Fix kernel panic at ipmi_ssif_thread()



msg_written_handler() may set ssif_info->multi_data to NULL
when using ipmitool to write fru.

Before setting ssif_info->multi_data to NULL, add new local
pointer "data_to_send" and store correct i2c data pointer to
it to fix NULL pointer kernel panic and incorrect ssif_info->multi_pos.

Signed-off-by: default avatarJoeseph Chang <joechang@codeaurora.org>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Cc: stable@vger.kernel.org # 3.19-
parent ea6200e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment