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

Commit eb576150 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 am: e3bc28ad am: 600e6103 am: ce069c5a am: a078c078 am: 1ceadac7 am: 912ff8af
am: 161a9bcd

Change-Id: I9461a64173a220e0d21a8b8d0ef537025936660b
parents 42648b72 161a9bcd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ status_t Fence::unflatten(void const*& buffer, size_t& size, int const*& fds, si
        return INVALID_OPERATION;
    }

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