/[packages]/updates/5/graphicsmagick/current/SOURCES/GraphicsMagick-1.3.15-use-so-for-modules.patch
ViewVC logotype

Contents of /updates/5/graphicsmagick/current/SOURCES/GraphicsMagick-1.3.15-use-so-for-modules.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1129822 - (show annotations) (download)
Mon Jul 24 05:53:00 2017 UTC (6 years, 8 months ago) by akien
File size: 1092 byte(s)
Fix use-after-free crash (CVE-2017-11403)
1 --- GraphicsMagick-1.3.15/magick/module.c.so 2012-06-14 06:43:31.000000000 +0000
2 +++ GraphicsMagick-1.3.15/magick/module.c 2012-06-14 06:44:29.000000000 +0000
3 @@ -59,7 +59,7 @@
4 #define MAX_MODULES 511 /* Maximum number of modules supported by build. */
5 #define ModuleFilename "modules.mgk"
6 #if defined(HasLTDL)
7 -# define ModuleGlobExpression "*.la"
8 +# define ModuleGlobExpression "*.so"
9 #else
10 # if defined(_DEBUG)
11 # define ModuleGlobExpression "IM_MOD_DB_*.dll"
12 @@ -2030,7 +2030,7 @@
13 assert(tag != (char *) NULL);
14 assert(module_name != (char *) NULL);
15 #if defined(HasLTDL)
16 - (void) FormatString(module_name,"%.1024s.la",tag);
17 + (void) FormatString(module_name,"%.1024s.so",tag);
18 (void) LocaleLower(module_name);
19 #else
20 #if defined(MSWINDOWS)
21 @@ -2077,7 +2077,7 @@
22 assert(tag != (char *) NULL);
23 assert(module_name != (char *) NULL);
24 #if defined(HasLTDL)
25 - (void) FormatString(module_name,"%.1024s.la",tag);
26 + (void) FormatString(module_name,"%.1024s.so",tag);
27 (void) LocaleLower(module_name);
28 #else
29 (void) FormatString(module_name,"%.1024s.dll",tag);

  ViewVC Help
Powered by ViewVC 1.1.30