Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for standard:i586
SUSE:SLE-12:Update
ImageMagick.28259
ImageMagick-CVE-2016-10060.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2016-10060.patch of Package ImageMagick.28259
From 30b93fc5dd1b1dfd8f2496321a190cb65551af34 Mon Sep 17 00:00:00 2001 From: Cristy <urban-warrior@imagemagick.org> Date: Sat, 7 May 2016 19:56:35 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/195 --- wand/convert.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wand/convert.c b/wand/convert.c index 66cff5a..72f6487 100644 --- a/wand/convert.c +++ b/wand/convert.c @@ -102,6 +102,9 @@ static MagickBooleanType ConcatenateImages(int argc,char **argv, int c; + MagickBooleanType + status; + register ssize_t i; @@ -115,6 +118,7 @@ static MagickBooleanType ConcatenateImages(int argc,char **argv, argv[argc-1]); return(MagickFalse); } + status=MagickTrue; for (i=2; i < (ssize_t) (argc-1); i++) { input=fopen_utf8(argv[i],"rb"); @@ -124,12 +128,13 @@ static MagickBooleanType ConcatenateImages(int argc,char **argv, continue; } for (c=fgetc(input); c != EOF; c=fgetc(input)) - (void) fputc((char) c,output); + if (fputc((char) c,output) != c) + status=MagickFalse; (void) fclose(input); (void) remove_utf8(argv[i]); } (void) fclose(output); - return(MagickTrue); + return(status); } static MagickBooleanType ConvertUsage(void)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor