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:
124c21d
)
4l: TIFF stores short strings inside tag, do not interpret it is as an offset
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 17 Dec 2008 17:39:35 +0000
(17:39 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 17 Dec 2008 17:39:35 +0000
(17:39 +0000)
Fixes issue 753
Originally committed as revision 16189 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/tiff.c
patch
|
blob
|
history
diff --git
a/libavcodec/tiff.c
b/libavcodec/tiff.c
index
7e42aab
..
7e789b4
100644
(file)
--- a/
libavcodec/tiff.c
+++ b/
libavcodec/tiff.c
@@
-176,6
+176,11
@@
static int tiff_decode_tag(TiffContext *s, const uint8_t *start, const uint8_t *
value = off;
buf = NULL;
break;
+ case TIFF_STRING:
+ if(count <= 4){
+ buf -= 4;
+ break;
+ }
default:
value = -1;
buf = start + off;