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

Commit 06af624e authored by Kevin Jeon's avatar Kevin Jeon
Browse files

Add pointer dereference in debuggerd error msg

This change adds a missing pointer dereference to the InterceptResponse
when checking for a size mismatch.

Test: build
Bug: N/A
Change-Id: I88afed6f1c0f33fe237d337b0fb8fc0a0c0e3bac
parent 3feefa8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ bool debuggerd_trigger_dump(pid_t tid, DebuggerdDumpType dump_type, unsigned int
      log_error(output_fd, 0,
                "received packet of unexpected length from tombstoned while reading %s response: "
                "expected %zd, received %zd",
                kind, sizeof(response), rc);
                kind, sizeof(*response), rc);
      return false;
    }
    return true;