[fido] CHECK that Append ranges don't overlap
This change introduces a CHECK that the ranges passed to u2f_parsing_utils::Append do not overlap. Calling it with overlapping ranges results in undefined behavior if a reallocation is necessary during the Append operation. Bug: 780078 Change-Id: Ibc83c054bdf8dee81f293c54f980c6735fcc358a Reviewed-on: https://chromium-review.googlesource.com/999481 Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by:Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#548743}
Showing
Please register or sign in to comment