Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02816398 authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Add SafetyNet logging for security fix

Bug: 188893559
Test: atest CtsMediaTestCases:MediaPlayerTest
Change-Id: I073cc7d91fab35d07248d789244d121ca7bd0cb3
parent 049fb437
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6477,6 +6477,7 @@ media_status_t MPEG4Source::read(
        } else {
          // We are trying to read a sample larger than the expected max sample size.
          // Fall through and let the failure be handled by the following if.
          android_errorWriteLog(0x534e4554, "188893559");
        }

        if (num_bytes_read < (ssize_t)size) {