Subject: xsrc/25071
To: None <gnats-bugs@gnats.netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-x11
Date: 07/23/2004 21:27:53
There have been a few bugs fixed in Xft by the Xft author (via
freedesktop.org xlibs Xft) that have not been integrated into the XFree86
version.

I don't know if these are the fixes, but as far as I can see they are not
fixed in the XFree86 cvs:

This one is in XftCharIndex ():
"Walking off the end of the hash table"
http://freedesktop.org/cgi-bin/viewcvs.cgi/xlibs/Xft/xftglyphs.c?r1=1.24&r2=1.25

This one probably doesn't matter for this bug, but maybe:
"Avoid uninitialized fields.  Dont call malloc for zero bytes "
http://freedesktop.org/cgi-bin/viewcvs.cgi/xlibs/Xft/xftdraw.c?r1=1.27&r2=1.28
http://freedesktop.org/cgi-bin/viewcvs.cgi/xlibs/Xft/xftglyphs.c?r1=1.25&r2=1.26
http://freedesktop.org/cgi-bin/viewcvs.cgi/xlibs/Xft/xftfreetype.c?r1=1.33&r2=1.34

I also carbon-copied tech-x11. I don't have xsrc for 2.0 to build and test
at the moment. Can someone reproduce the Segmentation fault in
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=25071
and try the above patches?

Thanks,

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/