Skip to content
Snippets Groups Projects
Commit 428871d0 authored by Pawan Wagh's avatar Pawan Wagh
Browse files

Check for null ferr

fout is double checked for nullptr instead of ferr which forces
to call fclose on null ferr.

Test: atest incidentd_test
Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer
with clusterfuzz testcase
Bug: 283453191

Change-Id: I3a4912cf70f4f32cb66fb870febbbfff1a7c6adc
parent 3c3e3687
No related branches found
No related tags found
Loading
Loading
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