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

Commit 905f57fa authored by Christopher Wiley's avatar Christopher Wiley Committed by android-build-merger
Browse files

Merge "libbinder: Fix out of bounds in readBoolVector" am: 1f76049c am: 87a30d93

am: 23cd9ff6

* commit '23cd9ff6':
  libbinder: Fix out of bounds in readBoolVector
parents b7a17c7e 23cd9ff6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1511,8 +1511,8 @@ status_t Parcel::readBoolVector(std::vector<bool>* val) const {
    /* C++ bool handling means a vector of bools isn't necessarily addressable
     * (we might use individual bits)
     */
    for (int32_t i = 0; i < size; size++) {
    bool data;
    for (int32_t i = 0; i < size; ++i) {
        status = readBool(&data);
        (*val)[i] = data;