commit | cea3911ccae307cb58b05cb126ad20bca010190a | [log] [tgz] |
---|---|---|
author | Cristy <urban-warrior@imagemagick.org> | Fri Feb 09 20:49:09 2018 -0500 |
committer | Cristy <urban-warrior@imagemagick.org> | Fri Feb 09 20:49:09 2018 -0500 |
tree | 065f7d196b2efe6b2ec9041e6f82d2fd9a8ba9e3 | |
parent | ea59e6b7f07b119d937aeb59a8acedf12d7d5d0d [diff] [blame] |
https://github.com/ImageMagick/ImageMagick/issues/966
diff --git a/coders/json.c b/coders/json.c index eda1206..6ee4b29 100644 --- a/coders/json.c +++ b/coders/json.c
@@ -1502,7 +1502,7 @@ while (*p != '\0') { q=p; - while ((*q != '\n') && (*q != '\0')) + while ((*q != '\377') && (*q != '\0')) q++; (void) CopyMagickString(image_info->filename,p,(size_t) (q-p+1)); p=q+1;