diff options
| author | 2025-10-28 23:26:30 +0530 | |
|---|---|---|
| committer | 2025-10-31 12:42:47 -0400 | |
| commit | 1c21cf89a66413eb04b2d22c955b7a50edc14dfa (patch) | |
| tree | 0ec9e46267841c1c41252b1183d1867b2c04d695 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | Bluetooth: hci_event: validate skb length for unknown CC opcode (diff) | |
| download | wireguard-linux-1c21cf89a66413eb04b2d22c955b7a50edc14dfa.tar.xz wireguard-linux-1c21cf89a66413eb04b2d22c955b7a50edc14dfa.zip | |
Bluetooth: btrtl: Fix memory leak in rtlbt_parse_firmware_v2()
The memory allocated for ptr using kvmalloc() is not freed on the last
error path. Fix that by freeing it on that error path.
Fixes: 9a24ce5e29b1 ("Bluetooth: btrtl: Firmware format v2 support")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
