Bug#179056: marked as done (vim: Crash on too long argument on keypress)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 20 Mar 2005 23:33:20 -0800


Your message dated Mon, 21 Mar 2005 08:19:56 +0100
with message-id <20050321071956.GA13240@fistandantilus.takhisis.org>
and subject line Bug#179056: vim: Crash on too long argument on keypress
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; 30 Jan 2003 14:11:06 +0000
>From wv@xs2mail.com Thu Jan 30 08:11:05 2003
Return-path: <wv@xs2mail.com>
Received: from mailhost.tue.nl [131.155.2.5] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18eFPE-00077f-00; Thu, 30 Jan 2003 08:11:05 -0600
Received: from s010581 (mail@dyn231-hg.nbw.tue.nl [131.155.99.114])
	by mailhost.tue.nl (8.12.3/8.12.3) with ESMTP id h0UEB3fx30829885;
	Thu, 30 Jan 2003 15:11:03 +0100 (MET)
Received: from wv by s010581 with local (Exim 3.36 #1 (Debian))
	id 18eFPC-0000Fh-00; Thu, 30 Jan 2003 15:11:02 +0100
From: Wouter <wv@xs2mail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim: Crash on too long argument on keypress
X-Mailer: reportbug 1.50
Date: Thu, 30 Jan 2003 15:11:02 +0100
Message-Id: <E18eFPC-0000Fh-00@s010581>
Sender: Wouter <wv@xs2mail.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: vim
Version: 6.1.048-1
Severity: normal

I provided vim with a single very long argument, like:
 $ vim "$(cat something)"

"something" is filled with lines of filenames; output from "find".
This appears to happen if the argument is over 1K bytes.

<r/1043662594.558_5:2,S^@./Mail/tu/cur/104343424Illegal file name
First, vim complains "Illegal filename". If I press 'i' to start editing and
then press Enter, it says:

Vim: Caught deadly signal SEGV
Vim: preserving files...
Vim: Finished.
Segmentation fault

Of course, such a long name makes no sense, but vim should crash on it.

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux s010581 2.4.18 #1 Thu May 30 18:14:16 CEST 2002 i686
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages vim depends on:
ii  dpkg                     1.10.9          Package maintenance system for Deb
ii  libc6                    2.2.5-14.3      GNU C Library: Shared libraries an
ii  libgpmg1                 1.19.6-12       General Purpose Mouse Library [lib
ii  libncurses5              5.2.20020112a-8 Shared libraries for terminal hand


---------------------------------------
Received: (at 179056-done) by bugs.debian.org; 21 Mar 2005 07:20:29 +0000
>From zack@bononia.it Sun Mar 20 23:20:29 2005
Return-path: <zack@bononia.it>
Received: from ms004msg.fastwebnet.it [213.140.2.58] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDHDA-0005QA-00; Sun, 20 Mar 2005 23:20:29 -0800
Received: from fistandantilus.takhisis.org (37.10.140.105) by ms004msg.fastwebnet.it (7.2.052.3)
        id 42386767000C7C32; Mon, 21 Mar 2005 08:19:57 +0100
Received: by fistandantilus.takhisis.org (Postfix, from userid 3148)
	id 400E027405E; Mon, 21 Mar 2005 08:19:56 +0100 (CET)
Date: Mon, 21 Mar 2005 08:19:56 +0100
From: Stefano Zacchiroli <zack@debian.org>
To: "W.J.A. Verheijen" <W.J.A.Verheijen@xs2mail.com>
Cc: 179056-done@bugs.debian.org
Subject: Re: Bug#179056: vim: Crash on too long argument on keypress
Message-ID: <20050321071956.GA13240@fistandantilus.takhisis.org>
References: <E18eFPC-0000Fh-00@s010581> <20050318154931.GA19472@fistandantilus.takhisis.org> <20050320201349.GA29286@s010581>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050320201349.GA29286@s010581>
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 179056-done@bugs.debian.org
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: 

On Sun, Mar 20, 2005 at 09:13:49PM +0100, W.J.A. Verheijen wrote:
> > I tried with a 3000 lines file generated via find, but I was unable to
> > reproduce the bug. Are you still able to?
> > 
> > If not I will close this bug.
> No, I am not able to reproduce it on my system either.
> Please close this bug.

Done, thanks.

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-