commit | cefa91bb5108c947afe69251ad2a4366e540a2aa | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Mon Jan 16 03:10:40 2017 -0800 |
committer | Peng Xu <pengxu@google.com> | Wed Jan 18 13:26:37 2017 -0800 |
tree | e735331b90be9b5663c517d0c313cf761db7f4db | |
parent | 5567177a41adac6d2520a6a0ac2b9edb9be65d60 [diff] |
[sensors] Add parameter check to poll() Check maxCount parameter so that it will not allocate overly large amount of memory if input parameter is bad. Bug: 32953589 Test: build and pass vts Change-Id: Ia19e0315ab1623b8b6580889c1e058a19e6c9670