projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7064209
)
h264: Make sure reinit failures mark the context as not initialized
author
Luca Barbato
<lu_zero@gentoo.org>
Mon, 25 May 2015 20:30:10 +0000
(22:30 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Sat, 30 May 2015 14:32:02 +0000
(16:32 +0200)
Bug-Id: CVE-2015-3417
CC: libav-stable@libav.org
libavcodec/h264_slice.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_slice.c
b/libavcodec/h264_slice.c
index e47a4484e6abc661c7e74d5e3773ed476ccea705..c2c3e9ff1e7cf7cdd27203a12c83fba1f3d0e7c4 100644
(file)
--- a/
libavcodec/h264_slice.c
+++ b/
libavcodec/h264_slice.c
@@
-1319,6
+1319,7
@@
int ff_h264_decode_slice_header(H264Context *h, H264Context *h0)
}
if (h->context_initialized && needs_reinit) {
+ h->context_initialized = 0;
if (h != h0) {
av_log(h->avctx, AV_LOG_ERROR,
"changing width %d -> %d / height %d -> %d on "