-
Robert Sesek authored
The code was not properly checking that the length of the key string contained within the buffer. The string uses UTF-16 (two-byte) units but was treating the length as single-byte units. This switches the code to use the size-checked GetLeafData<T> wrapper. Bug: 783914 Change-Id: I4f9207532181656e4865eb4c397cae5745b5785a Reviewed-on: https://chromium-review.googlesource.com/767408 Reviewed-by: Jialiu Lin <jialiul@chromium.org> Commit-Queue: Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#516109}
643f77a8