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 [cjwat...@ubuntu.com] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org