Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EE client channel resolver] Use std::strlen instead of sizeof in TXT…
… record parsing (#33131) This is a mistake made in #33030. `sizeof()` would count the null byte terminated the C string and would cause us to skip a byte if it is used as the index to `result->substr()`. This would also crash if `result` only contains `grpc_config=` as @drfloob pointed out. <!-- If you know who should review your pull request, please assign it to that person, otherwise the pull request would get assigned randomly. If your pull request is for a specific language, please add the appropriate lang label. -->
- Loading branch information