summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorSungsoo <sungsoo@google.com>2016-08-23 14:48:43 +0900
committerSungsoo <sungsoo@google.com>2016-08-23 15:22:45 +0900
commita8f9a075b14c526a0de75c2ade81ebc4e05e4ef8 (patch)
tree1b44cb3a1bf4d1afa6bb403bb78035ad813656a6 /tools/aapt2/diff/Diff.cpp
parent5e252cecd15827332ec465137b1a4c47e6e77f46 (diff)
ExifInterface: Make saveAttributes throw an exception before change
ExifInterface object can be created with a unsupported file format. If saveAttribute is called with an unsupported file format, ExifInterface makes the file corrupted. This CL prevents those cases by throwing an exception before making any change on the file. Bug: 30936376 Change-Id: I115a42601c774062485974042464abb0d65c35e9
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions