Fix Stack-use-after-scope error in C2Fuzzer
In C2Fuzzer, configuration parameters C2StreamPictureSizeInfo::input, C2StreamSampleRateInfo::output and C2StreamChannelCountInfo::output were declared as stack variables which lead to the errors. These are now declared on heap and freed later Bug: 191341806 Test: Tested with ASAN: Stack-use-after-scope error without the fix and no errors reported with fix Change-Id: Ic6d981668143d253e2ef52f5c273fc754d602db0
Loading
Please register or sign in to comment