You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bap: Fix not checking if request fits when grouping
When grouping requests with the same opcode the code was queueing them
without attempt to check that that would fit in the ATT MTU causing the
following trace:
stack-buffer-overflow on address 0x7fffdba951f0 at pc 0x7fc15fc49d21 bp
0x7fffdba95020 sp 0x7fffdba947d0
WRITE of size 9 at 0x7fffdba951f0 thread T0
#0 0x7fc15fc49d20 in __interceptor_memcpy
(/lib64/libasan.so.8+0x49d20)
ruundii#1 0x71f698 in util_iov_push_mem src/shared/util.c:266
bluez#2 0x7b9312 in append_group src/shared/bap.c:3424
bluez#3 0x71ba01 in queue_foreach src/shared/queue.c:207
bluez#4 0x7b9b66 in bap_send src/shared/bap.c:3459
bluez#5 0x7ba594 in bap_process_queue src/shared/bap.c:351
Fixes: bluez#457 (comment)
0 commit comments