| commit | f23c82781f95b280f555b352492df23397df3fd6 | [log] [tgz] |
|---|---|---|
| author | Luiz Augusto von Dentz <[email protected]> | Wed Sep 13 07:01:40 2017 |
| committer | ChromeOS Commit Bot <[email protected]> | Wed Sep 13 16:39:10 2017 |
| tree | 0d6518393b33ed2dd59f1a5ff5914a4730f04943 | |
| parent | c163a4f27e8029d5834e4f42c00b3afa7b79f1fe [diff] |
UPSTREAM: sdp: Fix Out-of-bounds heap read in service_search_attr_req function Check if there is enough data to continue otherwise return an error. BUG=chromium:764477 TEST=Run bluetooth tests (cherry picked from commit 9e009647b14e810e06626dde7f1bb9ea3c375d09) Signed-off-by: Guenter Roeck <[email protected]> Change-Id: Ib9b49cb17d5964daad5c9b377744020f968c0521 Reviewed-on: https://chromium-review.googlesource.com/664819 Trybot-Ready: Guenter Roeck <[email protected]> Reviewed-by: Mattias Nissler <[email protected]> Commit-Queue: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]>