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

Commit 5052e9cf authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "parameter passed to BnHDCP::onTransact() is incorrect when calling decrypt function."

parents 52afe9d2 a9497351
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -240,6 +240,8 @@ status_t BnHDCP::onTransact(

        case HDCP_ENCRYPT:
        {
            CHECK_INTERFACE(IHDCP, data, reply);

            size_t size = data.readInt32();
            size_t bufSize = 2 * size;

@@ -311,6 +313,8 @@ status_t BnHDCP::onTransact(

        case HDCP_DECRYPT:
        {
            CHECK_INTERFACE(IHDCP, data, reply);

            size_t size = data.readInt32();
            size_t bufSize = 2 * size;