[roll] Roll fuchsia [driver][tpm] Check returned read buffer size

Make the TPM driver verify that the number bytes returned from a
`Read()` FIDL request is not more than the number of bytes that the
driver had requested. This prevents the driver from overflowing the
buffer it uses to stored the bytes.

Add test to verify the driver does not overflow its read-buffer when
reading bytes using `Read()`.

Original-Original-Bug: 528400058
Test: fx test tpm-driver-test
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1697994
Original-Original-Revision: b3d734cc39803fdf4c974341e5b1c8abcbd9d56c
GitOrigin-RevId: e554ec0427529f29e2bf075c5bbb4358f65dfe97
Change-Id: I229fa8a4d76e56f3a195ec9100861134dbfb367d
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1698358
Cr-Commit-Position: refs/heads/main@{#196429}
1 file changed
tree: ddc68325c69dc5f1d289fffd0c4049faaac07339
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  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 in one of the communication channels documented at get involved.

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.