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

Commit 0862437d authored by Ivan Lozano's avatar Ivan Lozano Committed by Android (Google) Code Review
Browse files

Merge "Fix sanitizer in ISensorService list functions."

parents d52f2e42 7acfd317
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -63,7 +63,8 @@ public:
        Vector<Sensor> v;
        uint32_t n = reply.readUint32();
        v.setCapacity(n);
        while (n--) {
        while (n) {
            n--;
            reply.read(s);
            v.add(s);
        }
@@ -80,7 +81,8 @@ public:
        Vector<Sensor> v;
        uint32_t n = reply.readUint32();
        v.setCapacity(n);
        while (n--) {
        while (n) {
            n--;
            reply.read(s);
            v.add(s);
        }