HciManager::handleHciAclPacket(): swap the order of the checks
Check size before dereferencing the data. That way, we guarantee that
the byte does not contain garbage.
Pick-to: 6.9 6.8 6.5
Change-Id: Id90e66cf9eafb24206490ffb080ae56ff7d25d42
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
| commit | 22eb48c39eec46298c1adae89cf579bae690557b |
| parent | 32ca71d6cca413c4521728b524d50d4e76572639 |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Wed, 21 May 2025 18:21:07 +0200 |