projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0daf227
)
...
author
Cristy
<urban-warrior@imagemagick.org>
Sat, 24 Mar 2018 19:33:39 +0000
(15:33 -0400)
committer
Cristy
<urban-warrior@imagemagick.org>
Sat, 24 Mar 2018 19:33:50 +0000
(15:33 -0400)
coders/meta.c
patch
|
blob
|
history
diff --git
a/coders/meta.c
b/coders/meta.c
index ec4d5d49f6d4efda7c98e672017623f2a4c74bd5..eaebd1fc0e5fd3fc479772f2592e0e02cfc2c44d 100644
(file)
--- a/
coders/meta.c
+++ b/
coders/meta.c
@@
-2204,7
+2204,7
@@
static int format8BIM(Image *ifile, Image *ofile)
return -1;
}
/* make a buffer to hold the data and snag it from the input stream */
- str=(unsigned char *) AcquireQuantumMemory((size_t) count,sizeof(*str));
+ str=(unsigned char *) AcquireQuantumMemory((size_t) count
+1
,sizeof(*str));
if (str == (unsigned char *) NULL)
{
PString=(unsigned char *) RelinquishMagickMemory(PString);