diff options
| author | Alexander Usyskin <[email protected]> | 2020-10-29 11:54:42 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-11-03 10:13:48 +0100 |
| commit | bcbc0b2e275f0a797de11a10eff495b4571863fc (patch) | |
| tree | 4b5c88280d4194ac1ce38394bd943ccf623ac0b8 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff) | |
mei: protect mei_cl_mtu from null dereference
A receive callback is queued while the client is still connected
but can still be called after the client was disconnected. Upon
disconnect cl->me_cl is set to NULL, hence we need to check
that ME client is not-NULL in mei_cl_mtu to avoid
null dereference.
Cc: <[email protected]>
Signed-off-by: Alexander Usyskin <[email protected]>
Signed-off-by: Tomas Winkler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions