avformat/wtvdec: clear sectors
authorMichael Niedermayer <[email protected]>
Tue, 6 Aug 2024 22:18:51 +0000 (00:18 +0200)
committerMichael Niedermayer <[email protected]>
Thu, 27 Feb 2025 16:52:52 +0000 (17:52 +0100)
commit3d9afae908f3a9103ffef41e8bd7876504f191d9
treece396515b1e3169384464a3777bfcc2b8f7958a5
parent6cd0bdf3b064ea7f6322ce486c754b9f03a16333
avformat/wtvdec: clear sectors

The code can leave uninitialized holes in the array.
Fixes: use of uninitialized values
Fixes: 70883/clusterfuzz-testcase-minimized-ffmpeg_dem_WTV_fuzzer-6698694567591936

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit c95ea0310468e0a0906fa7d590ff7406c39d6991)
Signed-off-by: Michael Niedermayer <[email protected]>
libavformat/wtvdec.c