Skip to content

Commit a42f727

Browse files
Steven MorelandGerrit Code Review
authored andcommitted
Merge "Fix parcel fuzzer when mixing RPC and kernel binder." into main
2 parents e2f79ab + 4264074 commit a42f727

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

libs/binder/tests/parcel_fuzzer/random_parcel.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ void fillRandomParcel(Parcel* p, FuzzedDataProvider&& provider, RandomParcelOpti
111111
} else {
112112
binder = getRandomBinder(&provider);
113113
}
114-
CHECK(OK == p->writeStrongBinder(binder));
114+
115+
// may fail if mixing kernel binder and RPC binder
116+
(void) p->writeStrongBinder(binder);
115117
},
116118
});
117119

0 commit comments

Comments
 (0)