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

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

Merge "Fix sanitizer in ISensorService list functions." am: 6f1f7b98

am: 07f9d82b

Change-Id: Ic94ece09a1709fc4c818ca0db885c181c2ff09aa
parents b2af4152 07f9d82b
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);
        }