[roll] Roll fuchsia [fxfs] Check truncated blob size against delivery blob header

Once the delivery blob header has been decoded, we now verify the
expected length against the size which the blob was truncated with. This
ensures that attempts to write a blob with the incorrect length will be
caught earlier, and helps distinguish these cases from data corruption.

Ensure all FxDeliveryBlob functions return `anyhow::Error` and
ensure full error context is logged on failures. Previously, errors
would be mapped to a `zx::Status` which would result in loss of context.
This will allow us to more quickly triage issues when errors do occur.

Test: fx test fxfs-platform
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1024332
Original-Revision: 92f1c6e0f6c09f42b25b947ac66e1ab855a7e303
GitOrigin-RevId: b415bd1d95e7e9262530fd220d4f747fca5f4f78
Change-Id: I0c494c3caab39ec5818a5824bdc4deabb5db8d4a
1 file changed
tree: 2ea84842c32572973a2a0a56a6f175e72c1915e2
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
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.