Skip to content
Commit 45a693a2 authored by Abe Kohandel's avatar Abe Kohandel Committed by Carles Cufí
Browse files

bluetooth: ots: validate OTS procedure sizes



Validate the OACP and OLCP procedure sizes as the procedure is parsed.
This is in contrast with the current implementation which first parses
the procedure and then validates its size and is prone to accessing
invalid memory when the procedure is malformed.

Signed-off-by: default avatarAbe Kohandel <abe.kohandel@gmail.com>
parent df6289d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment