mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
tsdemux: reset iterator to NULL after it's free
Fixes possible invalid memory access in gst_ts_demux_stream_flush
This commit is contained in:
parent
6800d0c4e0
commit
3b525d1147
1 changed files with 1 additions and 0 deletions
|
@ -1547,6 +1547,7 @@ beach:
|
||||||
memset (stream->pendingbuffers, 0, TS_MAX_PENDING_BUFFERS);
|
memset (stream->pendingbuffers, 0, TS_MAX_PENDING_BUFFERS);
|
||||||
stream->nbpending = 0;
|
stream->nbpending = 0;
|
||||||
stream->current = NULL;
|
stream->current = NULL;
|
||||||
|
stream->currentit = NULL;
|
||||||
stream->expected_size = 0;
|
stream->expected_size = 0;
|
||||||
stream->current_size = 0;
|
stream->current_size = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue