mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 16:06:16 -05:00
6d7d9d9507
* gnu/packages/patches/graphicsmagick-CVE-2017-12935.patch, gnu/packages/patches/graphicsmagick-CVE-2017-12936.patch, gnu/packages/patches/graphicsmagick-CVE-2017-12937.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/imagemagick.scm (graphicsmagick)[source]: Use them.
16 lines
681 B
Diff
16 lines
681 B
Diff
This patch comes from http://hg.code.sf.net/p/graphicsmagick/code/rev/be898b7c97bd.
|
|
|
|
diff -ur a/coders/wmf.c b/coders/wmf.c
|
|
--- a/coders/wmf.c 2016-09-05 15:20:23.000000000 -0400
|
|
+++ b/coders/wmf.c 2017-08-19 10:38:08.984187264 -0400
|
|
@@ -2719,8 +2719,8 @@
|
|
if(image->exception.severity != UndefinedException)
|
|
ThrowException2(exception,
|
|
CoderWarning,
|
|
- ddata->image->exception.reason,
|
|
- ddata->image->exception.description);
|
|
+ image->exception.reason,
|
|
+ image->exception.description);
|
|
|
|
if(logging)
|
|
(void) LogMagickEvent(CoderEvent,GetMagickModule(),"leave ReadWMFImage()");
|