[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libgd security update / i686 issues

From: Leo Famulari
Subject: libgd security update / i686 issues
Date: Thu, 28 Jul 2016 03:23:37 -0400
User-agent: Mutt/1.6.0 (2016-04-01)

libgd 2.2.3 has been released [0], which includes fixes for

I built it on x86_64, and also cross-built to i686-linux. The 32-bit rounding
issue that Mark fixed with commit 27326064 was reported upstream [1],
and the suggested workaround is to add "-msse -mfpmath=sse" to CFLAGS

Having removed Mark's patch, I can cross-build to i686-linux using those
flags. The patch has gone stale with the 2.2.3 release:

gdimagerotate/bug00067.c: In function ‘main’:
gdimagerotate/bug00067.c:11:14: error: unused variable ‘filename’ 
  char *path, filename[2048];
gdimagerotate/bug00067.c:11:8: error: unused variable ‘path’ 
  char *path, filename[2048];
cc1: all warnings being treated as errors
Makefile:3120: recipe for target 'gdimagerotate/bug00067.o' failed

Should these CFLAGS values be applied unconditionally, as in the
attached patch, or should they be applied only while building on or for
specific architectures? Or something else?




Attachment: 0001-gnu-gd-Update-to-2.2.3.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]