[roll] Roll fuchsia [launchpad] Check for overflow when using the value of p_filesz

elf_load_find_interp directly reports the length of the interpreter
name as the PT_INTERP p_filesz header value. Since this is technically
untrusted, it could be SIZE_MAX, and the addition of 1 (for the
trailing NUL) could overflow.

So, check for this condition.

Original-Bug: fxbug.dev/47998
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/458275
Original-Revision: 873f14afd9f2e341c96b26a20242a2a78bb007ce
GitOrigin-RevId: b25ea1ed936f875377dc3f0fbb9aa8ba3f5c5cf7
Change-Id: I44593642a22a3ccb1e44bd33d7d6d56ca59946c4
1 file changed
tree: b371af1e1741fad72740b2adfa0c76d24d4b09b5
  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.