binder_parcel_fuzzer: avoid timeouts

libFuzzer was causing this test to timeout by feeding it, say, 600kb of
input, corresponding to 150,000 instructions to run. This kind of input
isn't interesting and is distracting from real results, so artificially
cutting the maximum input size to 50kb (~ 17,500 instructions).

Fixes: 142617274
Test: binder_parcel_fuzzer
Change-Id: I320ec57a9d1827ecaec035a3b5414bc4f97c0620
diff --git a/libs/binder/fuzzer/main.cpp b/libs/binder/fuzzer/main.cpp
index 929e2c3..bedab86 100644
--- a/libs/binder/fuzzer/main.cpp
+++ b/libs/binder/fuzzer/main.cpp
@@ -74,6 +74,10 @@
 
 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
     if (size <= 1) return 0;  // no use
+
+    // avoid timeouts, see b/142617274, b/142473153
+    if (size > 50000) return 0;
+
     uint8_t options = *data;
     data++;
     size--;