projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
16158da
)
hnm4: change width/height to int to fix hypothetical integer overflows
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 12 Nov 2014 10:13:08 +0000
(11:13 +0100)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Tue, 25 Nov 2014 02:00:06 +0000
(
02:00
+0000)
CC: libav-stable@libav.org
Bug-Id: CID 1135770 / CID 1135771
libavcodec/hnm4video.c
patch
|
blob
|
history
diff --git
a/libavcodec/hnm4video.c
b/libavcodec/hnm4video.c
index
4220202
..
700504d
100644
(file)
--- a/
libavcodec/hnm4video.c
+++ b/
libavcodec/hnm4video.c
@@
-37,8
+37,8
@@
typedef struct Hnm4VideoContext {
uint8_t version;
-
uint16_
t width;
-
uint16_
t height;
+
in
t width;
+
in
t height;
uint8_t *current;
uint8_t *previous;
uint8_t *buffer1;