commit | 2bc967a9c36979506a8796716a27f13eb1e0cc2e | [log] [tgz] |
---|---|---|
author | sadiqsada <sadiqsada@google.com> | Tue Jan 02 10:50:04 2024 -0800 |
committer | sadiqsada <sadiqsada@google.com> | Tue Jan 02 10:50:04 2024 -0800 |
tree | 1a1504223418b0bcdb67ccfa262bdb478a8c0479 | |
parent | 0f6eb0b217e5d10f456932e8d14e3cd2e912722a [diff] |
Initialize mFp file pointer to null Bug: 288170590 Test: atest VtsHalTvTunerTargetTest Change-Id: Ia1d78e42094073c6cfc7e4e00d65a540d148f02e
diff --git a/tv/tuner/aidl/vts/functional/utils/IpStreamer.h b/tv/tuner/aidl/vts/functional/utils/IpStreamer.h index d073003..8ac2ddb 100644 --- a/tv/tuner/aidl/vts/functional/utils/IpStreamer.h +++ b/tv/tuner/aidl/vts/functional/utils/IpStreamer.h
@@ -37,7 +37,7 @@ private: int mSockfd = -1; - FILE* mFp; + FILE* mFp = nullptr; bool mIsIpV4 = true; // By default, set to IPV4 int mPort = 12345; // default port int mBufferSize = 188; // bytes