Add a test for invalid webp file

Bug: 65290323
Test: This

Prior to the fix, attempting to decode this image would read
uninitialized memory and write to arbitrary memory.

The new image is a modified (truncated) version of webp_test.webp.

Merged-In: Ibb1d4aaba5deba0101b2722259c5f856f1645f1a
Change-Id: Ibb1d4aaba5deba0101b2722259c5f856f1645f1a
(cherry picked from commit 13d3ef0279965f7b11590b7c1111d785d12ad951)
diff --git a/tests/tests/security/res/raw/b65290323.webp b/tests/tests/security/res/raw/b65290323.webp
new file mode 100644
index 0000000..e4671bb
--- /dev/null
+++ b/tests/tests/security/res/raw/b65290323.webp
Binary files differ
diff --git a/tests/tests/security/src/android/security/cts/BitmapFactoryDecodeStreamTest.java b/tests/tests/security/src/android/security/cts/BitmapFactoryDecodeStreamTest.java
index 9115530..5aeb30f 100644
--- a/tests/tests/security/src/android/security/cts/BitmapFactoryDecodeStreamTest.java
+++ b/tests/tests/security/src/android/security/cts/BitmapFactoryDecodeStreamTest.java
@@ -39,4 +39,11 @@
         BitmapFactory.decodeStream(inStream);
 
     }
+
+    @SecurityTest
+    public void test_b65290323() throws Exception {
+        InputStream exploitImage = new BufferedInputStream(mContext.getResources().openRawResource(
+                R.raw.b65290323));
+        BitmapFactory.decodeStream(exploitImage);
+    }
 }