Your message dated Thu, 12 May 2005 14:32:12 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#308296: fixed in mc 1:4.6.0-4.6.1-pre3-3
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 9 May 2005 08:09:38 +0000
>From [EMAIL PROTECTED] Mon May 09 01:09:38 2005
Return-path: <[EMAIL PROTECTED]>
Received: from lorien.s2s.msu.ru [193.232.119.108]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DV3Kc-00036m-00; Mon, 09 May 2005 01:09:38 -0700
Received: by lorien.s2s.msu.ru (Postfix, from userid 500)
id 27EE923663; Mon, 9 May 2005 12:09:26 +0400 (MSD)
Content-Type: multipart/mixed; boundary="===============1059184495=="
MIME-Version: 1.0
From: Alexander Vodomerov <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: mc segfaults on charset encoding change
X-Mailer: reportbug 3.11
Date: Mon, 09 May 2005 12:09:26 +0400
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
This is a multi-part MIME message sent by reportbug.
--===============1059184495==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: mc
Version: 1:4.6.0-4.6.1-pre3-2
Severity: normal
Tags: patch
Thank you for enabling charset encoding, it's great!
However, small bug causes invalid iconv(3) usage and causes mc segfault
inside glibc. It is a result of wrong iconv outbuf parameter: it points
to buffer, but it should really point to pointer to buffer (char **
instead of char*).
The attached patch fixes the problem (at least for me).
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.8
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Versions of packages mc depends on:
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libglib2.0-0 2.6.4-1 The GLib library of C routines
ii libgpmg1 1.19.6-20 General Purpose Mouse - shared lib
-- no debconf information
--===============1059184495==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="1.patch"
--- mc-4.6.0-4.6.1-pre3/src/charsets.c.orig 2005-05-09 12:07:42.000000000
+0400
+++ mc-4.6.0-4.6.1-pre3/src/charsets.c 2005-05-09 12:07:30.000000000 +0400
@@ -143,13 +143,15 @@
translate_character (iconv_t cd, char c)
{
char obuf[4];
+ char *obufptr;
size_t ibuflen, obuflen, count;
ICONV_CONST char *ibuf = &c;
ibuflen = 1;
obuflen = sizeof(obuf);
- count = iconv (cd, &ibuf, &ibuflen, (char **)&obuf, &obuflen);
+ obufptr = obuf;
+ count = iconv (cd, &ibuf, &ibuflen, (char **)&obufptr, &obuflen);
if (count != (size_t)(-1) && ibuflen == 0)
return obuf[0];
--===============1059184495==--
---------------------------------------
Received: (at 308296-close) by bugs.debian.org; 12 May 2005 18:38:06 +0000
>From [EMAIL PROTECTED] Thu May 12 11:38:06 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DWIZR-0008AR-00; Thu, 12 May 2005 11:38:06 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DWITk-0006qn-00; Thu, 12 May 2005 14:32:12 -0400
From: Ludovic Drolez <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#308296: fixed in mc 1:4.6.0-4.6.1-pre3-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 12 May 2005 14:32:12 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: mc
Source-Version: 1:4.6.0-4.6.1-pre3-3
We believe that the bug you reported is fixed in the latest version of
mc, which is due to be installed in the Debian FTP archive:
mc_4.6.0-4.6.1-pre3-3.diff.gz
to pool/main/m/mc/mc_4.6.0-4.6.1-pre3-3.diff.gz
mc_4.6.0-4.6.1-pre3-3.dsc
to pool/main/m/mc/mc_4.6.0-4.6.1-pre3-3.dsc
mc_4.6.0-4.6.1-pre3-3_i386.deb
to pool/main/m/mc/mc_4.6.0-4.6.1-pre3-3_i386.deb
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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ludovic Drolez <[EMAIL PROTECTED]> (supplier of updated mc 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 11 May 2005 22:57:44 +0200
Source: mc
Binary: mc
Architecture: source i386
Version: 1:4.6.0-4.6.1-pre3-3
Distribution: unstable
Urgency: medium
Maintainer: Stefano Melchior <[EMAIL PROTECTED]>
Changed-By: Ludovic Drolez <[EMAIL PROTECTED]>
Description:
mc - midnight commander - a powerful file manager
Closes: 308296 308546 308794
Changes:
mc (1:4.6.0-4.6.1-pre3-3) unstable; urgency=medium
.
* urgency=medium because of 3 important bugs introduced by the last upload.
* removed 46_dotdotdir.patch to fix the tar bug. Closes: #308546
* replaced the iconv patch, 33_mc-iconv-error.patch, with a new
one provided by Roland Illig. Closes: #308296
* added cxx.syntax by copying the old c.syntax to it. Closes: #308794
* removed the useless 44_str_unconst.patch.
Files:
e731c7058b4e43cc1f954de55fd0f899 693 utils optional mc_4.6.0-4.6.1-pre3-3.dsc
1541795a1b93e2e4f774d259ff0a7d5b 68195 utils optional
mc_4.6.0-4.6.1-pre3-3.diff.gz
f9455dbd052b73989d8ddb26f069c5b6 2154920 utils optional
mc_4.6.0-4.6.1-pre3-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCg54usRlQAP1GppgRAkciAJkBcHBsnTcc/+yIeftgRy+rLCKWnwCghT3Y
efGWSno2qL7RO52bpjraebs=
=sWiA
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]