summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-09-22 13:02:09 -0700
committerNick Kralevich <nnk@google.com>2015-10-01 20:48:23 +0000
commit1619ed4706a0bf906d967ab7987cd4c475ac3462 (patch)
tree687e37b2d769b27cc4432e253d877ef585cc87d3 /tools/aapt2/diff/Diff.cpp
parent3089211ce6c279f92cb3ff8ce4137d322ce1ec97 (diff)
Fix security issues when using Parcel.setDataPosition() with untrusted input
When seeking forward in the Parcel, adding the extracted size to the Parcel.dataPosition() can result in an overflow. Guard against this. Bug:23909429 Change-Id: If37cdebbf05a92810300363d1a6ecd8b42b6da26
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions