diff options
author | 2017-03-27 20:22:09 -0600 | |
---|---|---|
committer | 2017-04-07 12:25:22 -0500 | |
commit | 6de65fcfdb51835789b245203d1bfc8d14cb1e06 (patch) | |
tree | d4c54a5c8abf83d416c72cde8374cc7224897c0c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff) | |
download | linux-rng-6de65fcfdb51835789b245203d1bfc8d14cb1e06.tar.xz linux-rng-6de65fcfdb51835789b245203d1bfc8d14cb1e06.zip |
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: Joeseph Chang <joechang@codeaurora.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: stable@vger.kernel.org # 3.19-
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions