History

avformat/mpegts: Initialize predefined_SLConfigDescriptor_seen

Fixes: use of uninitialized variable Fixes: 368729566/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTS_fuzzer-6044501804646400

Michael Niedermayer committed 2 years ago

Commit db7b4fc1 parent 23088a51 file · +2 −0Browse files

Unified · Split

libavformat/mpegts.c+2−0
@@ -1672,6 +1672,8 @@ static int mp4_read_iods(AVFormatContext *s, const uint8_t *buf, unsigned size, · 1671 unmodified lines
1672 MP4DescrParseContext d;1672 MP4DescrParseContext d;
1673 int ret;1673 int ret;
1674 1674
1675 d.predefined_SLConfigDescriptor_seen = 0;
1676
1675 ret = init_MP4DescrParseContext(&d, s, buf, size, descr, max_descr_count);1677 ret = init_MP4DescrParseContext(&d, s, buf, size, descr, max_descr_count);
1676 if (ret < 0)1678 if (ret < 0)
1677 return ret;1679 return ret;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t