diff options
author | Manank Patel <pmanank200502@gmail.com> | 2022-10-13 12:52:58 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2022-10-19 20:49:47 +0300 |
commit | 82ebbe65d781064cfb0a6a8af221a9cebcaaac9e (patch) | |
tree | 01b137546a2f8c0b7d9d858bc0d13a8cf69fa8c8 /Documentation | |
parent | 097a4a1612389c31d2c4b95dfa816b91212d7f54 (diff) | |
download | linux-82ebbe65d781064cfb0a6a8af221a9cebcaaac9e.tar.xz |
drivers: watchdog: exar_wdt.c fix use after free
fix use after free by storing the result of PTR_ERR(n->pdev)
to a local variable before returning.
Signed-off-by: Manank Patel <pmanank200502@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20221013095258.1424967-1-pmanank200502@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions