Fix the function declaration for DoScheduleCALayerInUseQueryCHROMIUM
DoScheduleCALayerInUseQueryCHROMIUM uses a signed int for the number of textures. The handler correctly validates the buffer size is large enough but does not validate that n > 0 before sending it to DoScheduleCALayerInUseQueryCHROMIUM where it is silently cast to an unsigned value. Bug: chromium:1135937 Change-Id: I44d04c3c1b1c09ad20c265e0fd8dd5f88a93bfeb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485532Reviewed-by:Zhenyao Mo <zmo@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> Cr-Commit-Position: refs/heads/master@{#819940}
Showing
Please register or sign in to comment