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

Commit e3bc28ad authored by Chris Forbes's avatar Chris Forbes Committed by android-build-merger
Browse files

Merge "ui: Fix bad size check in Fence::unflatten" into klp-dev am: 25556811...

Merge "ui: Fix bad size check in Fence::unflatten" into klp-dev am: 25556811 am: 71d3ef13 am: 5c5ee81b am: 05df3a6f am: 81bab808 am: 209ad9b6 am: d4cbd296
am: 593a1a21

Change-Id: I6c50751f24fdc5756bd5d1357df184d2a08f3c08
parents 1102b311 593a1a21
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -157,7 +157,7 @@ status_t Fence::unflatten(void const*& buffer, size_t& size, int const*& fds, si
        return INVALID_OPERATION;
        return INVALID_OPERATION;
    }
    }


    if (size < 1) {
    if (size < getFlattenedSize()) {
        return NO_MEMORY;
        return NO_MEMORY;
    }
    }