aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2013-04-23 10:44:35 +0800
committerGreg Kroah-Hartman <[email protected]>2013-04-23 10:29:58 -0700
commit46e407dd349c5ffbb869f5999fa596d1e08f2810 (patch)
tree3167c1c48ca29d037cb49b02be634a883f7d1854 /net/lapb/lapb_in.c
parent70135393812f4aa10aa891725786a7657064c2fc (diff)
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 <[email protected]> Acked-by: Tomas Winkler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions