Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rbac] Fix read of uninitialized variable (grpc#36244)
When parsing `action` fails we don't touch that memory in the object loader, yet we still call `PostLoad` to fill in any other errors. In that case we are currently relying on undefined behavior to have this test work -- why msan didn't flag it upsets me. Default `action` to some safe value to avoid the undefined behavior, and log the bad action in the error message to ease debugging here in the future. Closes grpc#36244 COPYBARA_INTEGRATE_REVIEW=grpc#36244 from ctiller:rbac-undef d94b04a PiperOrigin-RevId: 621599880
- Loading branch information