[pkg-GD-devel] Bug#709050: mscgen: fails to build with current libgd2
Colin Watson
cjwatson at ubuntu.com
Sat Jun 1 22:53:38 UTC 2013
On Sat, Jun 01, 2013 at 10:57:40PM +0100, Colin Watson wrote:
> +Index: b/src/gdft.c
> +===================================================================
> +--- a/src/gdft.c
> ++++ b/src/gdft.c
> +@@ -1487,7 +1487,7 @@
> + return "could not alloc font path";
> + }
> + strncpy(*fontpath, (const char *)file, file_len);
> +- fontpath[file_len] = 0;
> ++ (*fontpath)[file_len] = 0;
> + }
> + FcPatternDestroy(font);
> +
And in case anyone's keeping track, this was introduced by the fix for
this bug:
https://bitbucket.org/libgd/gd-libgd/issue/51/crash-in-master-with-ft-function
--
Colin Watson [cjwatson at ubuntu.com]
More information about the pkg-GD-devel
mailing list