[PATCH] xkb: fix invalid memory writes in _XkbCopyGeom.

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jun 4 08:40:03 PDT 2010


Since our labs team just released (internally only unfortunately) a
new version of the parfait source code analyzer, I tried running it
on my current clone of git master to see if it would find it - it
doesn't appear to have caught that, but did find some other issues
people may want to sort through:

	http://people.freedesktop.org/~alanc/parfait/xserver/

Since I ran it on OpenSolaris x86, it only checks code for that
platform - I could try running in my Fedora VirtualBox if there's
interest in seeing Linux platform differences.

It would be interesting to see if clang or coverity could catch this
error, so we'd know if they could help find any others introduced by
the loss of xalloc's pad-to-long.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list