aboutsummaryrefslogtreecommitdiff
path: root/create_lts.py
diff options
context:
space:
mode:
authorMartijn Vels <mvels@google.com>2022-09-30 08:18:08 -0700
committerCopybara-Service <copybara-worker@google.com>2022-09-30 08:18:49 -0700
commitba785235738f2fd8b71000c44516740197cc5dad (patch)
tree025f46cea406c3576c470011fc512e71fd687981 /create_lts.py
parent516c6266926723ba63affe5157c9d76a043f5665 (diff)
downloadabseil-ba785235738f2fd8b71000c44516740197cc5dad.tar.gz
abseil-ba785235738f2fd8b71000c44516740197cc5dad.tar.bz2
abseil-ba785235738f2fd8b71000c44516740197cc5dad.zip
Cleanup: SmallMemmove nullify should also be limited to 15 bytes
The current implementation correctly copies up to 15 bytes of data, but the nullify code clears up to 16 bytes, which was likely motivated by the assumption that the length indicator is always the last byte. This changes limits the nullify to 15 bytes as well removing this layout specific assumption from cord.h, making future platform specific internal layout changes easier to land. PiperOrigin-RevId: 477997741 Change-Id: Idcdfeca2a005139f97eafcc77111542d90b817af
Diffstat (limited to 'create_lts.py')
0 files changed, 0 insertions, 0 deletions