diff options
author | 2013-04-23 10:44:35 +0800 | |
---|---|---|
committer | 2013-04-23 10:29:58 -0700 | |
commit | 46e407dd349c5ffbb869f5999fa596d1e08f2810 (patch) | |
tree | 3167c1c48ca29d037cb49b02be634a883f7d1854 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mei: reduce flow control only for completed messages (diff) | |
download | linux-dev-46e407dd349c5ffbb869f5999fa596d1e08f2810.tar.xz linux-dev-46e407dd349c5ffbb869f5999fa596d1e08f2810.zip |
mei: fix krealloc() misuse in in mei_cl_irq_read_msg()
If krealloc() returns NULL, it doesn't free the original. So any code
of the form 'foo = krealloc(foo, ...);' is almost certainly a bug.
Introduced by commit fcb136e1ac5774909e0d85189f721b8dfa800e0f(mei: fix
reading large reposnes)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions