[roll] Roll cobalt [ConfigValidator] Pass proto arguments by reference

Passing by value creates a shallow copy of the message.  However
generated messages contain unexported fields that cannot be copied
by value, which may cause race conditions or violate some invariants
that the proto runtime depends on. Suggested solutions are to either
pass by reference or deep copy protos using the Clone() method.

Also in the tests, return proto message pointers from all the make*
helper functions to align with go lang guidance, which helps avoid
shallow copying.

Original-Bug: b/272113760
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt/+/815284
Original-Revision: a345c2d9f992c2f01d3595e5aa46e85405962009
GitOrigin-RevId: 35b1ea9544ed4daa5952d6f4de9b76e9c18511a8
Change-Id: I5d86d2c13e84ff577e2f1350c8dbbce048d5187a
1 file changed
tree: b725108f56718a5513bed85771091ab1ee9d6ffa
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. 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.