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

Commit 6f1f7b98 authored by Ivan Lozano's avatar Ivan Lozano Committed by Gerrit Code Review
Browse files

Merge "Fix sanitizer in ISensorService list functions."

parents 28b48f29 0ace760d
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);
        }