[PATCH:libxkbfile 3/4] Convert sprintf calls to snprintf

Alan Coopersmith alan.coopersmith at oracle.com
Sun Oct 27 17:59:56 CET 2013

On 10/27/13 05:16 AM, walter harms wrote:
> If Xkb has asprint() it is possible to avoid all this strlen() stuff and use asprint().

Unfortunately it does not, and while I considered adding it, there weren't
enough places where the strlen() is being used to allocate memory instead
of putting into XKB's nasty little buffers.

	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc

More information about the xorg-devel mailing list