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

Daniel Stone daniel at fooishbar.org
Thu Jun 3 23:04:49 PDT 2010


On Fri, Jun 04, 2010 at 02:15:04PM +1000, Peter Hutterer wrote:
> Classic strlen/strcpy mistake of
>    foo = malloc(strlen(bar));
>    strcpy(foo, bar);

Yeah, what a clanger.

Reviewed-by-and-apologised-for: Daniel Stone <daniel at fooishbar.org>


More information about the xorg-devel mailing list