diff options
author | Edwin Wong <edwinwong@google.com> | 2021-02-02 10:42:38 -0800 |
---|---|---|
committer | Edwin Wong <edwinwong@google.com> | 2021-02-25 17:43:13 +0000 |
commit | a6e551feef4e5faeec9ecc6b287eeade751e7f8b (patch) | |
tree | f94275254932234016f86b5b4b4c02a752acd0e6 /camera/common/1.0/default/CameraModule.cpp | |
parent | c14f262876818498b3ca77f1d6df9d4fb7e77b1c (diff) |
[RESTRICT AUTOMERGE] Fix potential decrypt destPtr overflow.
There is a potential integer overflow to bypass the
destination base size check in decrypt. The destPtr
can then point to the outside of the destination buffer.
Test: sts-tradefed
sts-tradefed run sts-engbuild-no-spl-lock -m StsHostTestCases --test android.security.sts.Bug_176444622#testPocBug_176444622
Test: push to device with target_hwasan-userdebug build
adb shell /data/local/tmp/Bug-17644462264
Bug: 176444622
Bug: 176496353
Change-Id: I71b390846a17aecbb9180865e1f9538b4b464abf
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions