admin
2022-09-04 fa05f89529e05078b29606e4beda3de5cfdce485
Pods/MMKVCore/Core/CodedInputDataCrypt.cpp
@@ -108,7 +108,7 @@
            bytesLeftInBuffer = m_decryptBufferSize - m_decryptBufferDecryptLength;
        }
    }
    // still no enough sapce, try realloc()
    // still no enough space, try realloc()
    if (bytesLeftInBuffer < length) {
        auto newSize = m_decryptBufferSize + length;
        auto newBuffer = realloc(m_decryptBuffer, newSize);