diff options
| author | 2017-11-09 10:03:38 -0800 | |
|---|---|---|
| committer | 2017-12-20 14:34:49 -0800 | |
| commit | 0b3162a8e938487ddc966a4ead908ad1b0d874e6 (patch) | |
| tree | c5d7ff151dd92c6d0c171891d1baf7021f8bb019 /libs/gui/LayerDebugInfo.cpp | |
| parent | a9c7e6d15201dbb701dc1f535689910a581912b0 (diff) | |
Fix sanitizer in surfaceflinger waitForEvent.
The loop in EventThread::waitForEvent as it is currently constructed
results in two unsigned overflows as a result of the increment/decrement
operation. This causes runtime errors on integer sanitized builds.
This patch refactors the loop to avoid these overflows.
Bug: 30969751
Test: Compiles and device boots. Runtime error no longer emitted.
Change-Id: I2eaa44c0910f19847d366210cafc947efaebfb2d
Merged-In: I2eaa44c0910f19847d366210cafc947efaebfb2d
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions