25475702 problem in LIBRARY/GD2
authorRich Burridge <rich.burridge@oracle.com>
Tue, 31 Jan 2017 11:21:23 -0800
changeset 7626 a1bbaa35d1ba
parent 7625 6e33b1679241
child 7635 6571f4c52a4a
25475702 problem in LIBRARY/GD2
components/gd2/Makefile
components/gd2/patches/007-CVE-2016-10167.patch
components/gd2/patches/008-CVE-2016-10168.patch
components/gd2/test/results-all.master
--- a/components/gd2/Makefile	Thu Jan 26 17:06:20 2017 +0000
+++ b/components/gd2/Makefile	Tue Jan 31 11:21:23 2017 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
 #
 BUILD_BITS= 64_and_32
 include ../../make-rules/shared-macros.mk
@@ -69,12 +69,15 @@
 COMPONENT_TEST_TARGETS =
 COMPONENT_TEST_MASTER =	$(COMPONENT_TEST_RESULTS_DIR)/results-all.master
 COMPONENT_TEST_TRANSFORMS += \
+	'-e "/Performing/d" ' \
 	'-e "s|\(^.*32 Test.*Passed\).*|\1|" ' \
 	'-e "s|\(^.*32 Test.*Failed\).*|\1|" ' \
-	'-e "s|\(^Total Test time (real) =\).*|\1|" ' \
-	'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
-	'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
-	'-e "/^XXX_CC_XXX$$/d" '
+	'-n ' \
+	'-e "/Passed/p" ' \
+	'-e "/Failed/p" ' \
+	'-e "/passed/p" ' \
+	'-e "/FAILED/p" ' \
+	'-e "/Errors/p" '
 
 REQUIRED_PACKAGES += image/library/libjpeg
 REQUIRED_PACKAGES += image/library/libpng
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gd2/patches/007-CVE-2016-10167.patch	Tue Jan 31 11:21:23 2017 -0800
@@ -0,0 +1,37 @@
+Fix for CVE CVE-2016-10167
+DOS vulnerability in gdImageCreateFromGd2Ctx()
+
+Change based on commit at:
+
+https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f
+
+--- gd_gd2.c.orig	2017-01-31 07:09:38.043472825 +0000
++++ gd_gd2.c	2017-01-31 07:40:06.395740258 +0000
[email protected]@ -414,10 +414,9 @@
+ 			{
+ 			  if (!gdGetInt (&im->tpixels[y][x], in))
+ 			    {
+-			      /*printf("EOF while reading\n"); */
+-			      /*gdImageDestroy(im); */
+-			      /*return 0; */
+-			      im->tpixels[y][x] = 0;
++			      fprintf (stderr, "gd2: EOF while reading\n");
++			      gdImageDestroy(im);
++			      return NULL;
+ 			    }
+ 			}
+ 		      else
[email protected]@ -425,10 +424,9 @@
+ 			  int ch;
+ 			  if (!gdGetByte (&ch, in))
+ 			    {
+-			      /*printf("EOF while reading\n"); */
+-			      /*gdImageDestroy(im); */
+-			      /*return 0; */
+-			      ch = 0;
++			      fprintf (stderr, "gd2: EOF while reading\n");
++			      gdImageDestroy(im);
++			      return NULL;
+ 			    }
+ 			  im->pixels[y][x] = ch;
+ 			}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gd2/patches/008-CVE-2016-10168.patch	Tue Jan 31 11:21:23 2017 -0800
@@ -0,0 +1,21 @@
+Fix for CVE-2016-10168
+Signed Integer Overflow gd_io.c
+
+Change based on commit at:
+
+https://github.com/libgd/libgd/commit/69d2fd2c597ffc0c217de1238b9bf4d4bceba8e6
+
+--- gd_gd2.c.orig	2017-01-31 07:21:54.267718272 +0000
++++ gd_gd2.c	2017-01-31 07:24:36.616401175 +0000
[email protected]@ -167,6 +167,11 @@
+ 
+   if (gd2_compressed (*fmt))
+     {
++      if (*ncx <= 0 || *ncy <= 0 || *ncx > INT_MAX / *ncy)
++        {
++          GD2_DBG(printf ("Illegal chunk counts: %d * %d\n", *ncx, *ncy));
++          goto fail1;
++        }
+       nc = (*ncx) * (*ncy);
+       GD2_DBG (printf ("Reading %d chunk index entries\n", nc));
+       sidx = sizeof (t_chunk_info) * nc;
--- a/components/gd2/test/results-all.master	Thu Jan 26 17:06:20 2017 +0000
+++ b/components/gd2/test/results-all.master	Tue Jan 31 11:21:23 2017 -0800
@@ -1,450 +1,36 @@
--- The C compiler identification is GNU 4.8.2
--- The CXX compiler identification is GNU 4.8.2
--- Check for working C compiler: /usr/bin/gcc
--- Check for working C compiler: /usr/bin/gcc -- works
--- Detecting C compiler ABI info
--- Detecting C compiler ABI info - done
--- Detecting C compile features
--- Detecting C compile features - done
--- Check for working CXX compiler: /usr/bin/c++
--- Check for working CXX compiler: /usr/bin/c++ -- works
--- Detecting CXX compiler ABI info
--- Detecting CXX compiler ABI info - done
--- Detecting CXX compile features
--- Detecting CXX compile features - done
--- ft2build: /usr/include;/usr/local/include
--- Checking whether system has ANSI C header files
--- Looking for 8 include files dlfcn.h, ..., float.h
--- Looking for 8 include files dlfcn.h, ..., float.h - found
--- Performing Test memchrExists
--- Performing Test memchrExists - Failed
--- ANSI C header files - not found
--- Looking for include file unistd.h
--- Looking for include file unistd.h - found
--- Looking for DIR in sys/stat.h;sys/types.h;dirent.h
--- Looking for DIR in sys/stat.h;sys/types.h;dirent.h - found
--- Found ZLIB: /usr/lib/libz.so (found version "1.2.8") 
--- Found PNG: /usr/lib/libpng.so
--- Found JPEG: /usr/lib/libjpeg.so  
--- Found XPM: /usr/lib/libXpm.so
--- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
--- Found FONTCONFIG: /usr/lib/libfontconfig.so
--- gd include dir: 
--- gd libs dir: 
-CMake Warning (dev) at tests/CMakeLists.txt:24 (link_directories):
-  This command specifies the relative path
-
-    
-
-  as a link directory.
-
-  Policy CMP0015 is not set: link_directories() treats paths relative to the
-  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
-  cmake_policy command to set the policy and suppress this warning.
-This warning is for project developers.  Use -Wno-dev to suppress it.
-
--- Configuring done
-CMake Warning (dev) at tests/gdimageline/CMakeLists.txt:9 (add_executable):
-  Policy CMP0003 should be set before this line.  Add code such as
-
-    if(COMMAND cmake_policy)
-      cmake_policy(SET CMP0003 NEW)
-    endif(COMMAND cmake_policy)
-
-  as early as possible but after the most recent call to
-  cmake_minimum_required or cmake_policy(VERSION).  This warning appears
-  because target "bug00072" links to some libraries for which the linker must
-  search:
-
-    -lm
-
-  and other libraries with known full path:
-
-    $(@D)/tests/gdtest/libgdTest.so
-    $(@D)/libgd.so
-
-  CMake is adding directories in the second list to the linker search path in
-  case they are needed to find libraries from the first list (for backwards
-  compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
-  or disable this behavior explicitly.  Run "cmake --help-policy CMP0003" for
-  more information.
-This warning is for project developers.  Use -Wno-dev to suppress it.
-
--- Generating done
--- Build files have been written to: $(@D)
-gmake[1]: Entering directory `$(@D)/tests'
-gmake[2]: Entering directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target gdTest
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[  1%] Building C object tests/gdtest/CMakeFiles/gdTest.dir/gdtest.o
-[  2%] Linking C shared library libgdTest.so
-gmake[3]: Leaving directory `$(@D)'
-[  2%] Built target gdTest
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target gd
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[  3%] Building C object CMakeFiles/gd.dir/gd.o
-[  4%] Building C object CMakeFiles/gd.dir/gdfx.o
-[  5%] Building C object CMakeFiles/gd.dir/gd_security.o
-[  6%] Building C object CMakeFiles/gd.dir/gd_gd.o
-[  7%] Building C object CMakeFiles/gd.dir/gd_gd2.o
-[  8%] Building C object CMakeFiles/gd.dir/gd_io.o
-[  9%] Building C object CMakeFiles/gd.dir/gd_io_dp.o
-[ 10%] Building C object CMakeFiles/gd.dir/gd_gif_in.o
-[ 11%] Building C object CMakeFiles/gd.dir/gd_gif_out.o
-[ 12%] Building C object CMakeFiles/gd.dir/gd_io_file.o
-[ 13%] Building C object CMakeFiles/gd.dir/gd_io_ss.o
-[ 14%] Building C object CMakeFiles/gd.dir/gd_jpeg.o
-[ 15%] Building C object CMakeFiles/gd.dir/gd_png.o
-[ 16%] Building C object CMakeFiles/gd.dir/gd_ss.o
-[ 17%] Building C object CMakeFiles/gd.dir/gd_topal.o
-[ 18%] Building C object CMakeFiles/gd.dir/gd_wbmp.o
-[ 20%] Building C object CMakeFiles/gd.dir/gdcache.o
-[ 21%] Building C object CMakeFiles/gd.dir/gdfontg.o
-[ 22%] Building C object CMakeFiles/gd.dir/gdfontl.o
-[ 23%] Building C object CMakeFiles/gd.dir/gdfontmb.o
-[ 24%] Building C object CMakeFiles/gd.dir/gdfonts.o
-[ 25%] Building C object CMakeFiles/gd.dir/gdfontt.o
-[ 26%] Building C object CMakeFiles/gd.dir/gdft.o
-[ 27%] Building C object CMakeFiles/gd.dir/gdhelpers.o
-[ 28%] Building C object CMakeFiles/gd.dir/gdkanji.o
-[ 29%] Building C object CMakeFiles/gd.dir/gdtables.o
-[ 30%] Building C object CMakeFiles/gd.dir/gdxpm.o
-[ 31%] Building C object CMakeFiles/gd.dir/wbmp.o
-[ 32%] Linking C shared library libgd.so
-gmake[3]: Leaving directory `$(@D)'
-[ 32%] Built target gd
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00079
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 33%] Building C object tests/gdimagearc/CMakeFiles/bug00079.dir/bug00079.o
-[ 34%] Linking C executable bug00079
-gmake[3]: Leaving directory `$(@D)'
-[ 34%] Built target bug00079
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target gdimagecolorclosest
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 35%] Building C object tests/gdimagecolorclosest/CMakeFiles/gdimagecolorclosest.dir/gdimagecolorclosest.o
-[ 36%] Linking C executable gdimagecolorclosest
-gmake[3]: Leaving directory `$(@D)'
-[ 36%] Built target gdimagecolorclosest
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target gdimagecolorexact
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 37%] Building C object tests/gdimagecolorexact/CMakeFiles/gdimagecolorexact.dir/gdimagecolorexact.o
-[ 38%] Linking C executable gdimagecolorexact
-gmake[3]: Leaving directory `$(@D)'
-[ 38%] Built target gdimagecolorexact
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target gdimagecolorresolve
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 40%] Building C object tests/gdimagecolorresolve/CMakeFiles/gdimagecolorresolve.dir/gdimagecolorresolve.o
-[ 41%] Linking C executable gdimagecolorresolve
-gmake[3]: Leaving directory `$(@D)'
-[ 41%] Built target gdimagecolorresolve
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00072
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 42%] Building C object tests/gdimageline/CMakeFiles/bug00072.dir/bug00072.o
-[ 43%] Linking C executable bug00072
-gmake[3]: Leaving directory `$(@D)'
-[ 43%] Built target bug00072
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00077
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 44%] Building C object tests/gdimageline/CMakeFiles/bug00077.dir/bug00077.o
-[ 45%] Linking C executable bug00077
-gmake[3]: Leaving directory `$(@D)'
-[ 45%] Built target bug00077
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target gdimageline_aa
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 46%] Building C object tests/gdimageline/CMakeFiles/gdimageline_aa.dir/gdimageline_aa.o
-[ 47%] Linking C executable gdimageline_aa
-gmake[3]: Leaving directory `$(@D)'
-[ 47%] Built target gdimageline_aa
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target gdimageline_aa_outofrange
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 48%] Building C object tests/gdimageline/CMakeFiles/gdimageline_aa_outofrange.dir/gdimageline_aa_outofrange.o
-[ 49%] Linking C executable gdimageline_aa_outofrange
-gmake[3]: Leaving directory `$(@D)'
-[ 49%] Built target gdimageline_aa_outofrange
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00010
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 50%] Building C object tests/gdimagefilledellipse/CMakeFiles/bug00010.dir/bug00010.o
-[ 51%] Linking C executable bug00010
-gmake[3]: Leaving directory `$(@D)'
-[ 51%] Built target bug00010
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00020
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 52%] Building C object tests/gdimagecopyrotated/CMakeFiles/bug00020.dir/bug00020.o
-[ 53%] Linking C executable bug00020
-gmake[3]: Leaving directory `$(@D)'
-[ 53%] Built target bug00020
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00032
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 54%] Building C object tests/gdtiled/CMakeFiles/bug00032.dir/bug00032.o
-[ 55%] Linking C executable bug00032
-gmake[3]: Leaving directory `$(@D)'
-[ 55%] Built target bug00032
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00003
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 56%] Building C object tests/gdimagerectangle/CMakeFiles/bug00003.dir/bug00003.o
-[ 57%] Linking C executable bug00003
-gmake[3]: Leaving directory `$(@D)'
-[ 57%] Built target bug00003
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00004
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 58%] Building C object tests/gdimagefilledrectangle/CMakeFiles/bug00004.dir/bug00004.o
-[ 60%] Linking C executable bug00004
-gmake[3]: Leaving directory `$(@D)'
-[ 60%] Built target bug00004
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00078
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 61%] Building C object tests/gdimagefilledrectangle/CMakeFiles/bug00078.dir/bug00078.o
-[ 62%] Linking C executable bug00078
-gmake[3]: Leaving directory `$(@D)'
-[ 62%] Built target bug00078
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target gd2_empty_file
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 63%] Building C object tests/gd2/CMakeFiles/gd2_empty_file.dir/gd2_empty_file.o
-[ 64%] Linking C executable gd2_empty_file
-gmake[3]: Leaving directory `$(@D)'
-[ 64%] Built target gd2_empty_file
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target gd2_read
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 65%] Building C object tests/gd2/CMakeFiles/gd2_read.dir/gd2_read.o
-[ 66%] Linking C executable gd2_read
-gmake[3]: Leaving directory `$(@D)'
-[ 66%] Built target gd2_read
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00005
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 67%] Building C object tests/gif/CMakeFiles/bug00005.dir/bug00005.o
-[ 68%] Linking C executable bug00005
-gmake[3]: Leaving directory `$(@D)'
-[ 68%] Built target bug00005
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00005_2
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 69%] Building C object tests/gif/CMakeFiles/bug00005_2.dir/bug00005_2.o
-[ 70%] Linking C executable bug00005_2
-gmake[3]: Leaving directory `$(@D)'
-[ 70%] Built target bug00005_2
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00006
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 71%] Building C object tests/gif/CMakeFiles/bug00006.dir/bug00006.o
-[ 72%] Linking C executable bug00006
-gmake[3]: Leaving directory `$(@D)'
-[ 72%] Built target bug00006
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00060
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 73%] Building C object tests/gif/CMakeFiles/bug00060.dir/bug00060.o
-[ 74%] Linking C executable bug00060
-gmake[3]: Leaving directory `$(@D)'
-[ 74%] Built target bug00060
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00066
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 75%] Building C object tests/gif/CMakeFiles/bug00066.dir/bug00066.o
-[ 76%] Linking C executable bug00066
-gmake[3]: Leaving directory `$(@D)'
-[ 76%] Built target bug00066
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target jpeg_empty_file
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 77%] Building C object tests/jpeg/CMakeFiles/jpeg_empty_file.dir/jpeg_empty_file.o
-[ 78%] Linking C executable jpeg_empty_file
-gmake[3]: Leaving directory `$(@D)'
-[ 78%] Built target jpeg_empty_file
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target jpeg_read
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 80%] Building C object tests/jpeg/CMakeFiles/jpeg_read.dir/jpeg_read.o
-[ 81%] Linking C executable jpeg_read
-gmake[3]: Leaving directory `$(@D)'
-[ 81%] Built target jpeg_read
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00011
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 82%] Building C object tests/png/CMakeFiles/bug00011.dir/bug00011.o
-[ 83%] Linking C executable bug00011
-gmake[3]: Leaving directory `$(@D)'
-[ 83%] Built target bug00011
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00033
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 84%] Building C object tests/png/CMakeFiles/bug00033.dir/bug00033.o
-[ 85%] Linking C executable bug00033
-gmake[3]: Leaving directory `$(@D)'
-[ 85%] Built target bug00033
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00086
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 86%] Building C object tests/png/CMakeFiles/bug00086.dir/bug00086.o
-[ 87%] Linking C executable bug00086
-gmake[3]: Leaving directory `$(@D)'
-[ 87%] Built target bug00086
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00007
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 88%] Building C object tests/gdimagecopy/CMakeFiles/bug00007.dir/bug00007.o
-[ 89%] Linking C executable bug00007
-gmake[3]: Leaving directory `$(@D)'
-[ 89%] Built target bug00007
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00002_1
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 90%] Building C object tests/gdimagefill/CMakeFiles/bug00002_1.dir/bug00002_1.o
-[ 91%] Linking C executable bug00002_1
-gmake[3]: Leaving directory `$(@D)'
-[ 91%] Built target bug00002_1
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00002_2
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 92%] Building C object tests/gdimagefill/CMakeFiles/bug00002_2.dir/bug00002_2.o
-[ 93%] Linking C executable bug00002_2
-gmake[3]: Leaving directory `$(@D)'
-[ 93%] Built target bug00002_2
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00002_3
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 94%] Building C object tests/gdimagefill/CMakeFiles/bug00002_3.dir/bug00002_3.o
-[ 95%] Linking C executable bug00002_3
-gmake[3]: Leaving directory `$(@D)'
-[ 95%] Built target bug00002_3
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00002_4
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 96%] Building C object tests/gdimagefill/CMakeFiles/bug00002_4.dir/bug00002_4.o
-[ 97%] Linking C executable bug00002_4
-gmake[3]: Leaving directory `$(@D)'
-[ 97%] Built target bug00002_4
-gmake[3]: Entering directory `$(@D)'
-Scanning dependencies of target bug00037
-gmake[3]: Leaving directory `$(@D)'
-gmake[3]: Entering directory `$(@D)'
-[ 98%] Building C object tests/gdimagefilltoborder/CMakeFiles/bug00037.dir/bug00037.o
-[100%] Linking C executable bug00037
-gmake[3]: Leaving directory `$(@D)'
-[100%] Built target bug00037
-gmake[2]: Leaving directory `$(@D)'
-gmake[1]: Leaving directory `$(@D)/tests'
-Test project $(@D)
-      Start  1: bug00079
  1/32 Test  #1: bug00079 .........................   Passed
-      Start  2: gdimagecolorclosest
  2/32 Test  #2: gdimagecolorclosest ..............   Passed
-      Start  3: gdimagecolorexact
  3/32 Test  #3: gdimagecolorexact ................   Passed
-      Start  4: gdimagecolorresolve
  4/32 Test  #4: gdimagecolorresolve ..............   Passed
-      Start  5: gdimageline_aa
  5/32 Test  #5: gdimageline_aa ...................***Failed
-      Start  6: gdimageline_aa_outofrange
  6/32 Test  #6: gdimageline_aa_outofrange ........   Passed
-      Start  7: bug00077
  7/32 Test  #7: bug00077 .........................   Passed
-      Start  8: bug00072
  8/32 Test  #8: bug00072 .........................   Passed
-      Start  9: bug00010
  9/32 Test  #9: bug00010 .........................   Passed
-      Start 10: bug00020
 10/32 Test #10: bug00020 .........................   Passed
-      Start 11: bug00032
 11/32 Test #11: bug00032 .........................   Passed
-      Start 12: bug00003
 12/32 Test #12: bug00003 .........................   Passed
-      Start 13: bug00004
 13/32 Test #13: bug00004 .........................   Passed
-      Start 14: bug00078
 14/32 Test #14: bug00078 .........................   Passed
-      Start 15: gd2_read
 15/32 Test #15: gd2_read .........................   Passed
-      Start 16: gd2_empty_file
 16/32 Test #16: gd2_empty_file ...................   Passed
-      Start 17: bug00005
 17/32 Test #17: bug00005 .........................   Passed
-      Start 18: bug00005_2
 18/32 Test #18: bug00005_2 .......................   Passed
-      Start 19: bug00006
 19/32 Test #19: bug00006 .........................   Passed
-      Start 20: bug00060
 20/32 Test #20: bug00060 .........................   Passed
-      Start 21: bug00066
 21/32 Test #21: bug00066 .........................   Passed
-      Start 22: jpeg_read
 22/32 Test #22: jpeg_read ........................   Passed
-      Start 23: jpeg_empty_file
 23/32 Test #23: jpeg_empty_file ..................   Passed
-      Start 24: bug00011
 24/32 Test #24: bug00011 .........................   Passed
-      Start 25: bug00033
 25/32 Test #25: bug00033 .........................   Passed
-      Start 26: bug00086
 26/32 Test #26: bug00086 .........................   Passed
-      Start 27: bug00007
 27/32 Test #27: bug00007 .........................   Passed
-      Start 28: bug00002_1
 28/32 Test #28: bug00002_1 .......................   Passed
-      Start 29: bug00002_2
 29/32 Test #29: bug00002_2 .......................   Passed
-      Start 30: bug00002_3
 30/32 Test #30: bug00002_3 .......................   Passed
-      Start 31: bug00002_4
 31/32 Test #31: bug00002_4 .......................   Passed
-      Start 32: bug00037
 32/32 Test #32: bug00037 .........................   Passed
-
 97% tests passed, 1 tests failed out of 32
-
-Total Test time (real) =
-
 The following tests FAILED:
 	  5 - gdimageline_aa (Failed)
 Errors while running CTest