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
This commit is contained in:
parent
3feefa8b17
commit
06af624e66
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue