Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 55d3ffe6 authored by Ben Seri's avatar Ben Seri Committed by Usaamah Patel
Browse files

Bluetooth: Properly check L2CAP config option output buffer length



Validate the output buffer length for L2CAP config requests and responses
to avoid overflowing the stack buffer used for building the option blocks.

Change-Id: Ieab6000d17aa069a05bbe9eb398ce9d540fc4426
Cc: stable@vger.kernel.org
Signed-off-by: default avatarBen Seri <ben@armis.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ed9144b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment