
This is a speculative fix for a crash we are seeing in ApplyHostDomainListPolicy() where I think either the provisioning or heartbeat RPC is providing an invalid email address for the user account. Note that if this is occurring, there will likely be problems later on (for example a malformed email won't match the sender_id in signaling messages) but those failures will be logged rather than crashing the host. I'm also proactively addressing the same potential problem when session authz policies are applied. Bug: 398725077 Change-Id: I8a2c5093ffa5059d341b6546885fb84e8b48046b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6310015 Reviewed-by: Gary Kacmarcik <garykac@chromium.org> Auto-Submit: Joe Downing <joedow@chromium.org> Commit-Queue: Gary Kacmarcik <garykac@chromium.org> Cr-Commit-Position: refs/heads/main@{#1425779}