Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2003 19:57:43 +0900 (JST)
From:      Daichi GOTO <daichi@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nork@FreeBSD.org
Subject:   ports/57794: [patch] x11/XFree86-4-libraries: bug fix about XIC treatment for XIM client(Xwnmo)
Message-ID:  <200310091057.h99AvhZ1082433@parancell.ongs.co.jp>
Resent-Message-ID: <200310091100.h99B0USN090511@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         57794
>Category:       ports
>Synopsis:       [patch] x11/XFree86-4-libraries: bug fix about XIC treatment for XIM client(Xwnmo)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 09 04:00:30 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Daichi GOTO <daichi@Freebsd.org>
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
ONGS Inc.
>Environment:
System: FreeBSD parancell.ongs.co.jp 5.1-RELEASE FreeBSD 5.1-RELEASE #2: Fri Sep 5 21:29:29 JST 2003 root@parancell.ongs.co.jp:/usr/obj/usr/src/sys/PARANCELL i386

>Description:
Norikatsu(nork@freebsd.org)'s linuxpluginwrapper-20031006 gets
crash using Xwnmo(XIM client) bacause of XFree86's bug about 
XIC treatment.

>How-To-Repeat:
Use Mozill with Xwnmo and Norikatsu(nork@freebsd.org)'s linuxpluginwrapper-20031006.
It'll get crash.

>Fix:
add follow patch as x11/XFree86-4-libraries/files/patch-ICWrap.c

*** lib/X11/ICWrap.c.org     2003-08-30 16:16:24.000000000 +0900
--- lib/X11/ICWrap.c 2003-08-30 16:14:05.000000000 +0900
***************
*** 346,351 ****
--- 346,352 ----
  XSetICFocus(ic)
      XIC ic;
  {
+   if(ic!=NULL)
    if (ic->core.im)
        (*ic->methods->set_focus) (ic);
  }
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310091057.h99AvhZ1082433>