diff options
author | Zhongqiu Han <quic_zhonhan@quicinc.com> | 2025-07-05 18:52:46 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-07-23 10:28:30 -0400 |
commit | b505902c66a282dcb01bcdc015aa1fdfaaa075db (patch) | |
tree | 9250a8a383518a0aa8e70326ae4cca7824cbf21f /scripts/lib/kdoc/kdoc_output.py | |
parent | 636c803f926ba0b20ad04be6a98592f4df7a7fd5 (diff) |
Bluetooth: btusb: Fix potential NULL dereference on kmalloc failure
Avoid potential NULL pointer dereference by checking the return value of
kmalloc and handling allocation failure properly.
Fixes: 7d70989fcea7 ("Bluetooth: btusb: Add HCI Drv commands for configuring altsetting")
Signed-off-by: Zhongqiu Han <quic_zhonhan@quicinc.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions