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

Commit 5755ddf4 authored by Vladimir Marko's avatar Vladimir Marko
Browse files

Revert "libbinder: readString*Inplace SafetyNet"

This reverts commit 7053ae7d.

Reason for revert: The logging is done under the wrong conditions.

Exempt-From-Owner-Approval: Revert
Bug: 172655291
Change-Id: I82be50b5687724061929aa07e3ab38b9b2d984b0
parent 7053ae7d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2056,7 +2056,6 @@ const char* Parcel::readString8Inplace(size_t* outLen) const
        *outLen = size;
        const char* str = (const char*)readInplace(size+1);
        if (str != nullptr && str[size] == '\0') {
            android_errorWriteLog(0x534e4554, "172655291");
            return str;
        }
    }
@@ -2140,7 +2139,6 @@ const char16_t* Parcel::readString16Inplace(size_t* outLen) const
        *outLen = size;
        const char16_t* str = (const char16_t*)readInplace((size+1)*sizeof(char16_t));
        if (str != nullptr && str[size] == u'\0') {
            android_errorWriteLog(0x534e4554, "172655291");
            return str;
        }
    }