diff options
author | Wen Yang <wenyang@linux.alibaba.com> | 2019-11-08 16:36:48 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-11-15 22:01:13 +0100 |
commit | a4c2fec16f5e6a5fee4865e6e0e91e2bc2d10f37 (patch) | |
tree | d8223a4563157f1c77187c3ae7f785acda76d7a6 /drivers/ptp/ptp_chardev.c | |
parent | 7574c0db2e68c4d0bae9d415a683bdd8b2a761e9 (diff) | |
download | linux-a4c2fec16f5e6a5fee4865e6e0e91e2bc2d10f37.tar.bz2 |
i2c: core: fix use after free in of_i2c_notify
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>
Diffstat (limited to 'drivers/ptp/ptp_chardev.c')
0 files changed, 0 insertions, 0 deletions