Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d6a59962 authored by S Vasudev Prasad's avatar S Vasudev Prasad
Browse files

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
parent 086eb84e
Loading
Loading
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