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

Commit 115e995c authored by Wei Jia's avatar Wei Jia
Browse files

resolved conflicts for merge of 1f44d837 to lmp-dev

Change-Id: Id60c2470ec2afebdbc1c0c995b90e294c9c879eb
parents 768a8fb4 1f44d837
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1890,6 +1890,10 @@ status_t MPEG4Extractor::parseChunk(off64_t *offset, int depth) {
                size = 0;
            }

            if (SIZE_MAX - chunk_size <= size) {
                return ERROR_MALFORMED;
            }

            uint8_t *buffer = new (std::nothrow) uint8_t[size + chunk_size];
            if (buffer == NULL) {
                return ERROR_MALFORMED;