summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorEdwin Wong <edwinwong@google.com>2021-01-26 20:29:25 -0800
committerEdwin Wong <edwinwong@google.com>2021-01-28 17:58:30 +0000
commitc9b5693c7f024a6b0c7fc59123dbc313ecbf6e9b (patch)
tree6ea94ad913ad8548ed5f55c9f2d053a7a511be77 /identity/support/src/cppbor_parse.cpp
parent8adb4f65816d2c49880665277cdd2d611367f638 (diff)
Fix potential decrypt src pointer overflow.
There is a potential integer overflow to bypass the source base size check in decrypt. The source pointer can then point to the outside of the source buffer, which could potentially leak arbitrary memory content to destination pointer. Test: sts-tradefed sts-tradefed run sts-engbuild-no-spl-lock -m StsHostTestCases --test android.security.sts.Bug_176496160#testPocBug_176496160 Test: push to device with target_hwasan-userdebug build adb shell /data/local/tmp/Bug-17649616064 Bug: 176496160 Bug: 176444786 Change-Id: I811a6f60948bde2a72906c2c6172fd7bc5feb6d9
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions