Parent: d01da89d6a1de435ad63560e26d442459086a99c
Author: Pauli Virtanen <pav@iki.fi>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-10-13 18:30:54
Tree: 1661655a9de032e873d08dc47c769ad9f1e6526d
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.
Diffstat
| M | src/shared/bap.c | | | 28 | ++++++++++++++++++++- - - - - - - - |
1 files changed, 20 insertions(+), 8 deletions(-)