Debian Bug report logs - #52017
rxvt-ml say 'Segmentation Fault' when pasting empty word.

version graph

Package: rxvt-ml; Maintainer for rxvt-ml is Ryan Kavanagh <rak@debian.org>; Source for rxvt-ml is src:rxvt-unicode (PTS, buildd, popcon).

Reported by: Satoshi Koike <s-koike@jaist.ac.jp>

Date: Mon, 6 Dec 1999 04:48:03 UTC

Severity: normal

Found in versions 2.6.1-3, 2.6.1

Fixed in version rxvt/1:2.6.1-4

Done: Brian Mays <brian@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Brian Mays <brian@debian.org>:
Bug#52017; Package rxvt-ml. (full text, mbox, link).


Acknowledgement sent to Satoshi Koike <s-koike@jaist.ac.jp>:
New Bug report received and forwarded. Copy sent to Brian Mays <brian@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Satoshi Koike <s-koike@jaist.ac.jp>
To: submit@bugs.debian.org
Subject: rxvt-ml say 'Segmentation Fault' when pasting empty word.
Date: 06 Dec 1999 13:43:56 +0900
Package: rxvt-ml
Version: 2.6.1-3

Krxvt (Japanese version rxvt) will fail down with 'Segmentation Fault'
when I paste EMPTY WORD by middle button of mouse.

Please apply the followed patch to <source dir>/src/screen.c.

------------------------------ screen.c.diff ------------------------------
--- screen.c~	Mon Dec  6 13:12:03 1999
+++ screen.c	Mon Dec  6 13:22:42 1999
@@ -2786,7 +2786,7 @@
 	}
 #ifdef MULTICHAR_SET
 	if (XmbTextPropertyToTextList(Xdisplay, &ct, &cl,
-				      &dummy_count) == Success)
+				      &dummy_count) == Success && cl)
 	    PasteIt(cl[0], strlen(cl[0]));
 #else
 	PasteIt(ct.value, ct.nitems);
------------------------------ screen.c.diff ------------------------------

-- 
Satoshi KOIKE <s-koike@jaist.ac.jp>


Information forwarded to debian-bugs-dist@lists.debian.org, Brian Mays <brian@debian.org>:
Bug#52017; Package rxvt-ml. (full text, mbox, link).


Acknowledgement sent to Satoshi Koike <s-koike@jaist.ac.jp>, 52017@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Brian Mays <brian@debian.org>. (full text, mbox, link).


Message #10 received at 52017@bugs.debian.org (full text, mbox, reply):

From: Satoshi Koike <s-koike@jaist.ac.jp>
To: rxvt-workers@rxvt.org
Cc: 52017@bugs.debian.org
Date: Mon, 06 Dec 1999 19:41:56 -0500
Version: 2.6.1

Rxvt compiled with kanji support will fail down with 'Segmentation
Fault' when an EMPTY WORD is pasted by the middle button of mouse.

This can be fixed by the followed patch to <source dir>/src/screen.c:

------------------------------ screen.c.diff ------------------------------
--- screen.c~	Mon Dec  6 13:12:03 1999
+++ screen.c	Mon Dec  6 13:22:42 1999
@@ -2786,7 +2786,7 @@
 	}
 #ifdef MULTICHAR_SET
 	if (XmbTextPropertyToTextList(Xdisplay, &ct, &cl,
-				      &dummy_count) == Success)
+				      &dummy_count) == Success && cl)
 	    PasteIt(cl[0], strlen(cl[0]));
 #else
 	PasteIt(ct.value, ct.nitems);
------------------------------ screen.c.diff ------------------------------


Information forwarded to debian-bugs-dist@lists.debian.org, Brian Mays <brian@debian.org>:
Bug#52017; Package rxvt-ml. (full text, mbox, link).


Acknowledgement sent to owner@bugs.debian.org (Debian Bug Tracking System):
Extra info received and forwarded to list. Copy sent to Brian Mays <brian@debian.org>. (full text, mbox, link).


Message #15 received at 52017@bugs.debian.org (full text, mbox, reply):

From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Satoshi Koike <s-koike@jaist.ac.jp>, 52017@bugs.debian.org
Subject: Bug#52017: Info received (was )
Date: 7 Dec 1999 00:48:05 -0000
Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developer(s) and
to the developers mailing list to accompany the original report.

Your message has been sent to the package maintainer(s):
 Brian Mays <brian@debian.org>

If you wish to continue to submit further information on your problem,
please send it to 52017@bugs.debian.org, as before.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.

Darren Benham
(administrator, Debian Bugs database)


Reply sent to Brian Mays <brian@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Satoshi Koike <s-koike@jaist.ac.jp>:
Bug acknowledged by developer. (full text, mbox, link).


Message #20 received at 52017-close@bugs.debian.org (full text, mbox, reply):

From: Brian Mays <brian@debian.org>
To: 52017-close@bugs.debian.org
Subject: Bug#52017: fixed in rxvt 1:2.6.1-4
Date: 7 Dec 1999 20:01:23 -0000
We believe that the bug you reported is fixed in the latest version of
rxvt, which has been installed in the Debian FTP archive:
rxvt-ml_2.6.1-4_i386.deb
  to dists/potato/main/binary-i386/x11/rxvt-ml_2.6.1-4.deb
  replacing rxvt-ml_2.6.1-3.deb
rxvt_2.6.1-4.dsc
  to dists/potato/main/source/x11/rxvt_2.6.1-4.dsc
  replacing rxvt_2.6.1-3.dsc
rxvt_2.6.1-4_i386.deb
  to dists/potato/main/binary-i386/x11/rxvt_2.6.1-4.deb
  replacing rxvt_2.6.1-3.deb
rxvt_2.6.1-4.diff.gz
  to dists/potato/main/source/x11/rxvt_2.6.1-4.diff.gz
  replacing rxvt_2.6.1-3.diff.gz

Note that this package is not part of the released stable Debian
distribution.  It may have dependencies on other unreleased software,
or other instabilities.  Please take care if you wish to install it.
The update will eventually make its way into the next released Debian
distribution.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 52017@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Brian Mays <brian@debian.org> (supplier of updated rxvt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.6
Date: Mon,  6 Dec 1999 19:42:07 -0500
Source: rxvt
Binary: rxvt-ml rxvt
Architecture: source i386
Version: 1:2.6.1-4
Distribution: unstable
Urgency: low
Maintainer: Brian Mays <brian@debian.org>
Description: 
 rxvt       - VT102 terminal emulator for the X Window System
 rxvt-ml    - multi-lingual VT102 terminal emulator for the X Window System
Closes: 51897 52004 52017
Changes: 
 rxvt (1:2.6.1-4) unstable; urgency=low
 .
   * Applied patch from Satoshi Koike <s-koike@jaist.ac.jp> to fix a
     seg fault bug.  (Closes: Bug#52017)
   * Added menu hint for rclock.  (Closes: Bug#52004)
   * Added description of "-im" to the rxvt man page.  (Closes: Bug#51897)
Files: 
 29c7f35d556ab84b4a6615ea25a2a45c 616 x11 optional rxvt_2.6.1-4.dsc
 7efd7984d2754424c7846dc59bbcb1f9 17139 x11 optional rxvt_2.6.1-4.diff.gz
 9bd0dc40e0d565cb03c55abb3047b83d 214198 x11 optional rxvt_2.6.1-4_i386.deb
 c989c9efafaff1c355e35cf2570bb6a5 251504 x11 optional rxvt-ml_2.6.1-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBOExdMvrhbOLeJ39FAQGsSAP+KGaOUY2wsIwteaHARB8NBsiqJi6QooR5
06RFg/Gk2RlsRfu95ffusIJKxCKfuqxI6NtjW86xTPNoQxgS5SUrVMoNjmjXdfqM
GDWjELeF325ad7hhAmzKTt+YzDKXo9hC5IXqptisGoGoevlLxpZeCQCWpkTQRRu+
UgOIShdjlF0=
=ywcQ
-----END PGP SIGNATURE-----



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jun 5 01:07:04 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.