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

Commit 93045857 authored by Ray Essick's avatar Ray Essick Committed by Android Build Coastguard Worker
Browse files

Safetynet logging for b/204445255

Bug: 204445255
Test: poc from original bug
Change-Id: I569477d0771e1c03318df9ef271cf3201d472c99
(cherry picked from commit 94e58d6b)
Merged-In:I569477d0771e1c03318df9ef271cf3201d472c99
parent 1253f001
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

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