diff options
author | Wen Yang <wenyang@linux.alibaba.com> | 2019-11-08 11:36:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-17 22:37:32 +0300 |
commit | 4ad684ad733f1c8520cc3096a794407462cb1ade (patch) | |
tree | da43887c8c6f95abb66cf49cdf1fa5cfd3e8d0ec /include/linux/serial_core.h | |
parent | faf35651c75253903de694128520e248a4bd486b (diff) | |
download | linux-4ad684ad733f1c8520cc3096a794407462cb1ade.tar.xz |
i2c: core: fix use after free in of_i2c_notify
[ Upstream commit a4c2fec16f5e6a5fee4865e6e0e91e2bc2d10f37 ]
We can't use "adap->dev" after it has been freed.
Fixes: 5bf4fa7daea6 ("i2c: break out OF support into separate file")
Signed-off-by: Wen Yang <wenyang@linux.alibaba.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/serial_core.h')
0 files changed, 0 insertions, 0 deletions