Fix double close in RecordedTransaction fuzzer
BUG=271692937
Test: The issue is reproducible on devices with HWASan:
SANITIZE_TARGET=hwaddress make binder_recordedTransactionFileFuzz
$ cd ${ANDROID_PRODUCT_OUT}
$ adb root
$ adb sync data
$ adb shell /data/fuzz/$(get_build_var
TARGET_ARCH)/binder_recordedTransactionFileFuzz/binder_recordedTransactionFileFuzz
Without the fix, fdsan fails immediately. With the fix, the fuzzer runs
successfully.
Change-Id: I3972fa0b3d9e56eef001a6c5be8c9beab77571d7
1 file changed