aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-03 08:05:04 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-03 08:05:04 +0000
commiteeeee64a7922a7e33d8bc09f66a1a4e6c3e01596 (patch)
treec3d31725e26792897522b6cb1c53822761ac9bdc
parent66169187ac153d8a4efa270dcb836e6672d84401 (diff)
parent8f688823fc5399ab0f42ba2c8986cdd127dbde9b (diff)
downloadlibexif-pie-gsi.tar.gz
Change-Id: I5ca6e753d515d8687b6f152da2010c2ccf0d584d
-rw-r--r--Android.bp4
-rw-r--r--libexif_blacklist.txt15
2 files changed, 19 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index f648a4b..62ba943 100644
--- a/Android.bp
+++ b/Android.bp
@@ -64,6 +64,10 @@ cc_library_shared {
"-Werror",
],
+ sanitize: {
+ integer_overflow: true,
+ blacklist: "libexif_blacklist.txt",
+ },
}
// WARNING: this makefile builds a shared library. Do not ever make it build
diff --git a/libexif_blacklist.txt b/libexif_blacklist.txt
new file mode 100644
index 0000000..9500d9a
--- /dev/null
+++ b/libexif_blacklist.txt
@@ -0,0 +1,15 @@
+# Copyright (C) 2017 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+fun:match_tag