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

Commit 94e58d6b authored by Ray Essick's avatar Ray Essick
Browse files

Safetynet logging for b/204445255

Bug: 204445255
Test: poc from original bug
Change-Id: I569477d0771e1c03318df9ef271cf3201d472c99
parent e3f218d6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
#include <variant>

#include <binder/Parcel.h>
#include <log/log.h>
#include <utils/Errors.h>
#include <utils/Timers.h> // nsecs_t

@@ -469,6 +470,7 @@ protected:
        while (*ptr != 0) {
            if (ptr >= bufferptrmax) {
                ALOGE("%s: buffer exceeded", __func__);
                android_errorWriteLog(0x534e4554, "204445255");
                return BAD_VALUE;
            }
            ++ptr;