diff options
author | Kent Mein <mein@cs.umn.edu> | 2008-04-18 18:25:36 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2008-04-18 18:25:36 +0400 |
commit | 23016d59d475b0331c2d2b47830a81ede4857f03 (patch) | |
tree | dbe106c398452fb923866badedd37912a2039109 /source/blender | |
parent | 2318e47ae90558e5929db9bf1166f358e67c5c69 (diff) |
Yesterday was not my day. Forgot about end of string.
Kent
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/imbuf/intern/radiance_hdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/radiance_hdr.c b/source/blender/imbuf/intern/radiance_hdr.c index df6211ff390..ec630427745 100644 --- a/source/blender/imbuf/intern/radiance_hdr.c +++ b/source/blender/imbuf/intern/radiance_hdr.c @@ -193,7 +193,7 @@ struct ImBuf *imb_loadhdr(unsigned char *mem, int size, int flags) } } if (found) { - if (sscanf((char *)&mem[x+1], "%80s %d %80s %d", (char*)&oriY, &height, + if (sscanf((char *)&mem[x+1], "%79s %d %79s %d", (char*)&oriY, &height, (char*)&oriX, &width) != 4) return NULL; /* find end of this line, data right behind it */ |