[roll] Roll fuchsia [bt][common] Enforce AD ManufacturerData fit when encoded

Addresses the possibility of ManufacturerData overflow in
AdvertisingData::WriteBlock. Specifically:
* Checks encoded ManufacturerData size invariant in AD::
  SetManufacturerData. Accordingly, helpers::AdvertisingDataFromFidl is
  fallible if the FIDL contains manufacturer data that is too long.
* Adds assertion that encoded ManufacturerData sizes are <= uint8::MAX
  and static_casts before writing sizes to encoded bytes.

Original-Bug: 66980
Test: Adds to GAP_AdvertisingDataTest.SetFieldsWithTooLongParameters and
      FIDL_HelpersTest.AdvertisingDataFromFidlWithFieldsTooLong. Other
      modifications are trivial due to fallibility of SetServiceData /
      ADFromFidl.
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/474304
Original-Revision: 0989d6f1200dced28614b43d816cca1631414049
GitOrigin-RevId: a855d39201b62740980c8849eafb664a4b69f39d
Change-Id: I52bcc587d8aba44146f2468c6af964be14f25363
1 file changed
tree: d613da944d970001b6e0f9adf9100f23842f354b
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. flower
  8. jiri.lock
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.