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:
5653579
)
vp8: prevent read from uninitialized memory in decode_mvs
author
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 14 Oct 2011 21:43:29 +0000
(23:43 +0200)
committer
Janne Grunau
<janne-libav@jannau.net>
Fri, 14 Oct 2011 22:13:21 +0000
(
00:13
+0200)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/vp8.c
patch
|
blob
|
history
diff --git
a/libavcodec/vp8.c
b/libavcodec/vp8.c
index
691324e
..
7442b99
100644
(file)
--- a/
libavcodec/vp8.c
+++ b/
libavcodec/vp8.c
@@
-492,6
+492,7
@@
void decode_mvs(VP8Context *s, VP8Macroblock *mb, int mb_x, int mb_y)
AV_ZERO32(&near_mv[0]);
AV_ZERO32(&near_mv[1]);
+ AV_ZERO32(&near_mv[2]);
/* Process MB on top, left and top-left */
#define MV_EDGE_CHECK(n)\