Merge "Revert "removed the exception handling to skip the frame which data size is 0"" am: 1e2b6013c9

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1533561

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib9299e25cfb863a20443182d7567c090807ef975
diff --git a/media/libstagefright/id3/ID3.cpp b/media/libstagefright/id3/ID3.cpp
index 5509512..e97f6eb 100644
--- a/media/libstagefright/id3/ID3.cpp
+++ b/media/libstagefright/id3/ID3.cpp
@@ -813,6 +813,10 @@
                 baseSize = U32_AT(&mParent.mData[mOffset + 4]);
             }
 
+            if (baseSize == 0) {
+                return;
+            }
+
             // Prevent integer overflow when adding
             if (SIZE_MAX - 10 <= baseSize) {
                 return;