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

Commit f00bafd3 authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Validate all AVRCP packets before use to prevent out of bounds reads.

If a packet arrives that is too short to read all the fields from, then
an out of bounds read occurs. This patch validates all recieved packets
before use.

Bug: 119562595
Test: run net_test_avrcp
Change-Id: Ifc1c0def1b411664facbbeb7e4d6e9c56ecc31c1
parent 859771bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment