Skip to content
Snippets Groups Projects
Commit e435b1d7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix null-deref crash while fuzzing"

parents 00d45983 54826461
No related branches found
No related tags found
No related merge requests found
......@@ -513,6 +513,9 @@ status_t IncidentService::onTransact(uint32_t code, const Parcel& data, Parcel*
sp<IShellCallback> shellCallback = IShellCallback::asInterface(data.readStrongBinder());
sp<IResultReceiver> resultReceiver =
IResultReceiver::asInterface(data.readStrongBinder());
if (resultReceiver == nullptr) {
return BAD_VALUE;
}
FILE* fin = fdopen(in, "r");
FILE* fout = fdopen(out, "w");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment