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
@ -1547,6 +1547,7 @@ beach:
|
||||
memset (stream->pendingbuffers, 0, TS_MAX_PENDING_BUFFERS);
|
||||
stream->nbpending = 0;
|
||||
stream->current = NULL;
|
||||
stream->currentit = NULL;
|
||||
stream->expected_size = 0;
|
||||
stream->current_size = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user