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

Commit 07f9d82b authored by Ivan Lozano's avatar Ivan Lozano Committed by android-build-merger
Browse files

Merge "Fix sanitizer in ISensorService list functions."

am: 6f1f7b98

Change-Id: I5a396d072d4e4a00553f09b3ae3608edace98fcd
parents a9a6aa36 6f1f7b98
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);
        }