`grpc_sockaddr_to_uri(addr)` can return nullptr, and we are directly passing it to grpc_slice_from_copied_string. Clusterfuzz found this issue in https://clusterfuzz.com/testcase-detail/5188592759603200 Use "NULL" when target URI is nullptr, to avoid null deref. Fixes 18544pull/18545/head
parent
a1fac43aff
commit
b0e75a42d2
1 changed files with 6 additions and 4 deletions
Loading…
Reference in new issue