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

Commit b087e00b 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

Change-Id: Ie1fd127b89e6bc37514b05051708e69f37ae95f9
parents 4fdd8f15 ea4f9810
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);
    }