[PATCH:libxtrans 2/4] Replace malloc(strlen)+strcpy with strdup

Mark Kettenis mark.kettenis at xs4all.nl
Tue Dec 6 02:31:06 PST 2011


> From: Alan Coopersmith <alan.coopersmith at oracle.com>
> Date: Mon,  5 Dec 2011 20:36:30 -0800
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Reviewed-by: Mark Kettenis <kettenis at openbsd.org>

> ---
>  Xtrans.c    |   26 +++++++-------------------
>  Xtranslcl.c |    8 ++------
>  2 files changed, 9 insertions(+), 25 deletions(-)


More information about the xorg-devel mailing list