git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0701f7c
)
matroska: Fix use after free
author
Dale Curtis
<dalecurtis@chromium.org>
Thu, 10 Jan 2013 19:05:29 +0000
(11:05 -0800)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 11 Mar 2015 23:43:38 +0000
(
00:43
+0100)
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit
ae3d41636942cbc0236bad21ad06c65f4eb0f096
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
2fe1db5
..
ac91f67
100644
(file)
--- a/
libavformat/matroskadec.c
+++ b/
libavformat/matroskadec.c
@@
-1676,6
+1676,7
@@
static int matroska_deliver_packet(MatroskaDemuxContext *matroska,
*/
static void matroska_clear_queue(MatroskaDemuxContext *matroska)
{
+ matroska->prev_pkt = NULL;
if (matroska->packets) {
int n;
for (n = 0; n < matroska->num_packets; n++) {