|author||Marie Janssen 💖 <email@example.com>||Fri May 01 00:32:19 2020 +0000|
|committer||CQ bot account: firstname.lastname@example.org <email@example.com>||Fri May 01 00:32:19 2020 +0000|
[bt][sdp] Fix buffer size check, max response size Calculate the size of the response buffers that are being parsed in ServiceSearchResponse, ServiceAttributeResponse, and ServiceSearchAttributeResponse correctly before parsing the results. Fix a problem where continuing to parse continuation packets for ServiceAttributeResponse and ServiceSearchAttributeResponse could have an unbounded memory allocation. Fixed: 50628 Fixed: 50627 Test: bt-host-unittests, updated SDP parsing tests. Multiply: bt-host-unittests:30 Change-Id: Iaa36d69620f2374de3549217b43fc43a8404e0e6 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/384686 Reviewed-by: Ani Ramakrishnan <firstname.lastname@example.org> Testability-Review: Ani Ramakrishnan <email@example.com> Commit-Queue: Marie Janssen 💖 <firstname.lastname@example.org>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.