diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-06-26 13:10:41 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-06-26 14:30:16 +0300 |
commit | 21acee4ecf9c3d9eff545f50e79c321a0c35d9b3 (patch) | |
tree | f156ae42e55bfe41f495b65cda3b40120eed628f /drivers/hid/hid-quirks.c | |
parent | 3ed224e273ac5880eeab4c3043a6b06b0478dd56 (diff) | |
download | linux-21acee4ecf9c3d9eff545f50e79c321a0c35d9b3.tar.xz |
HID: intel-ish-hid: Fix a use after free in load_fw_from_host()
We have to print the filename first before we can kfree it.
Fixes: 91b228107da3 ("HID: intel-ish-hid: ISH firmware loader client driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-quirks.c')
0 files changed, 0 insertions, 0 deletions