diff options
author | Martin Faltesek <[email protected]> | 2022-06-06 21:57:28 -0500 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-06-08 10:17:17 -0700 |
commit | 996419e0594abb311fb958553809f24f38e7abbe (patch) | |
tree | 8c0d7fc1098726739cdfa80d4d349020b877fc8f /scripts/gdb/linux/tasks.py | |
parent | 77e5fe8f176a525523ae091d6fd0fbb8834c156d (diff) |
nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
Error paths do not free previously allocated memory. Add devm_kfree() to
those failure paths.
Fixes: 26fc6c7f02cb ("NFC: st21nfca: Add HCI transaction event support")
Fixes: 4fbcc1a4cb20 ("nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION")
Cc: [email protected]
Signed-off-by: Martin Faltesek <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions