bluetooth: host: Check bounds on num_completed_packets event
If an event with corrupted length arrives, the extra check makes the
handler return early to avoid reading data out of bounds.
Signed-off-by:
Arkadiusz Kozdra <akozdra@antmicro.com>
Loading
Please sign in to comment