[PATCH:xwininfo] When matching window names, ensure name lengths match too

Mark Kettenis mark.kettenis at xs4all.nl
Wed Jun 8 01:04:53 PDT 2011


> From: Alan Coopersmith <alan.coopersmith at oracle.com>
> Date: Tue,  7 Jun 2011 23:13:46 -0700
> 
> Prevents strncmp returning on partial matches when one is shorter.
> https://bugs.freedesktop.org/show_bug.cgi?id=37710
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

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

>  dsimple.c |   16 ++++++++++------
>  1 files changed, 10 insertions(+), 6 deletions(-)


More information about the xorg-devel mailing list