openbsd-ports/www/php5/extensions/patches/patch-ext_gd_gdttf_c
robert e02e606e73 update to version 5.2.3;
fixes many vulnerabilities just as usual. for more information
read http://www.php.net/releases/5_2_3.php

add a no_suhosin pseudo-flavor because horde has some problems
with the suhosin security patchset
2007-07-02 08:53:17 +00:00

13 lines
395 B
Plaintext

$OpenBSD: patch-ext_gd_gdttf_c,v 1.2 2007/07/02 08:53:17 robert Exp $
--- ext/gd/gdttf.c.orig Sun Jan 9 22:05:05 2005
+++ ext/gd/gdttf.c Mon Jul 2 10:38:20 2007
@@ -712,7 +712,7 @@ gdttfchar(gdImage *im, int fg, font_t *font,
}
#if HAVE_LIBGD20
if (im->trueColor) {
- pixel = &im->tpixels[y3][x3];
+ pixel = (unsigned char *)&im->tpixels[y3][x3];
} else
#endif
{