[bluez/bluez] 04d044: shared/bap: check pac cc and metadata length befor...

From: Pauli Virtanen <hidden>
Date: 2025-10-11 18:54:47

  Branch: refs/heads/1010380
  Home:   https://github.com/bluez/bluez
  Commit: 04d044e80dc9872c1705703c73df71c79a8560c9
      https://github.com/bluez/bluez/commit/04d044e80dc9872c1705703c73df71c79a8560c9
  Author: Pauli Virtanen [off-list ref]
  Date:   2025-10-11 (Sat, 11 Oct 2025)

  Changed paths:
    M src/shared/bap.c

  Log Message:
  -----------
  shared/bap: check pac cc and metadata length before use

Don't read past buffer end if device provided bogus values for PAC
caps/metadata lengths.

Use iov pull properly, and also check metadata LTV validity.



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help