summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Daniele Di Proietto <ddiproietto@google.com> 2023-11-10 12:47:42 +0000
committer Daniele Di Proietto <ddiproietto@google.com> 2023-11-10 13:03:57 +0000
commita509706c927dd1c18259bc70177778a3bed1f44d (patch)
treeea81fdc96a7a07f7de8e7f9efa8dfa8b803bab65 /libs/ultrahdr/jpegencoderhelper.cpp
parent42e79138c0bfb0ac31bed572c3cedaab18e6e6f8 (diff)
Keep tracing session alive in fuzzer
Commit 7e6446c3da42("Refactored surfaceflinger_frametracer_fuzzer") added some more randomness to the fuzzer, but, by wrapping the tracingSession unique_ptr into a block, also caused the tracing session to be destoyed immediately. Keeping the tracing session alive is important to exercise interesting code path inside the fuzzed code. If the tracing session is dead, tracing is effectively disabled and the tracing code in durface flinger will not be covered. Bug: 307601836 Change-Id: Ia1c4a76f09cf20fca56add4cab11a8cdfd579842
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions