Avoid bitmap overflow.
This ensures there are no circumstances under which the following memcpy could write beyond the end of the bitmap. Bug: 1144368 Change-Id: I2d41d9f059445c936387a25d9fe9b45818a3e649 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2511859 Commit-Queue: Adrian Taylor <adetaylor@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#822974}
Showing
Please register or sign in to comment