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

Commit 3b83ef93 authored by Yunlian Jiang's avatar Yunlian Jiang Committed by android-build-merger
Browse files

Merge "Fix a nullness warning." am: b37e81d3 am: 10b5a9d3 am: ea4f9810

am: b087e00b

Change-Id: I767582963592c8790aeda4e9b0cab5e06ba944ae
parents be6124e7 b087e00b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -130,6 +130,7 @@ void ZipEntry::initNew(const char* fileName, const char* comment)
    if (mCDE.mFileCommentLength > 0) {
        /* TODO: stop assuming null-terminated ASCII here? */
        mCDE.mFileComment = new uint8_t[mCDE.mFileCommentLength+1];
        assert(comment != NULL);
        strcpy((char*) mCDE.mFileComment, comment);
    }