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

Commit fe26fc14 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android (Google) Code Review
Browse files

Merge changes from topic "am-92cbb3f7-167f-4f57-b682-f916686fead9-mnc-dev" into nyc-dr1-dev

* changes:
  [automerger] Fix possible out of bounds read am: 3762e061 am: ecc92a1a am: 1c7bb87a am: 4cdd5c3a am: bad0533d
  [automerger] Fix possible out of bounds read am: 3762e061 am: ecc92a1a am: 1c7bb87a am: 4cdd5c3a
  [automerger] Fix possible out of bounds read am: 3762e061 am: ecc92a1a am: 1c7bb87a
  [automerger] Fix possible out of bounds read am: 3762e061 am: ecc92a1a
  [automerger] Fix possible out of bounds read am: 3762e061
  Fix possible out of bounds read
parents a333901a 19d1113b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -603,6 +603,9 @@ void ID3::Iterator::getstring(String8 *id, bool otherdata) const {
        // UCS-2
        // API wants number of characters, not number of bytes...
        int len = n / 2;
        if (len == 0) {
            return;
        }
        const char16_t *framedata = (const char16_t *) (frameData + 1);
        char16_t *framedatacopy = NULL;
        if (*framedata == 0xfffe) {