commit | 6f6d220a3255e7cbd31bcd1220ffb83af0a2779a | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Mon Sep 10 15:50:19 2018 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Oct 19 16:23:48 2018 +0000 |
tree | 46e1a76e378c9f2bd444d36bc4c8e5255f59a38d | |
parent | 5408c2c4543ec221d39aadda06b79efb3119c7b8 [diff] |
Prevent out of bounds accesses in lppTransposer() Check validity of pSettings->noOfPatches to prevent out of bounds access in lppTransposer(), which can also cause memSize to be negative. Bug: 112160868 Test: see poc in bug Change-Id: I789030b116da7f8ea261001b43ef6c677dd58a3d Merged-In: I6a2161865d9cb9b51dc37c09d6e3a4a8e5d11f86 (cherry picked from commit 56ef80d7fec1fd9e201262348a96b8660558105a)