diff options
author | Martijn Vels <mvels@google.com> | 2023-08-18 11:32:43 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-08-18 11:33:42 -0700 |
commit | 94b37802217a9c9bb182bd99d55096683ef45b2c (patch) | |
tree | 52fd47c358341d9bc307739ac4098e44058acec6 /absl/strings/cordz_test.cc | |
parent | 4f3eff442191e7e2ec2d547c9331fad256bf96d1 (diff) |
Check CRC cordrep child nodes for nullptr.
Some time ago the invariant for CRC cordreps was relaxed to allow for nullptr values on empty cords with an explicit empty CRC value. The CordzInfo analysis never checked for nullptr values causing cord sampling to crash if the sampling happened to include a (very unlikely) empty Cord value.
PiperOrigin-RevId: 558202613
Change-Id: Ib0e1eadd08047167e4df5d3035b36dca2c285a0d
Diffstat (limited to 'absl/strings/cordz_test.cc')
0 files changed, 0 insertions, 0 deletions