Vulnerability Development mailing list archives

Re: vi buffer overflow


From: Emmanuel BENOIT <tseeker () neptune fr>
Date: Fri, 9 Nov 2001 10:14:29 +0100

It seems that this bug has been fixed with vim 6.0 (even in alpha versions) :

tseeker@abboth:~$ uname -a
Linux abboth 2.4.10 #1 Wed Oct 3 13:58:10 CEST 2001 i686 unknown
tseeker@abboth:~$ vim --version
VIM - Vi IMproved 6.0y ALPHA (2001 Mar 18, compiled Aug  6 2001 22:24:10)
[...]
tseeker@abboth:~$ vim `perl -e 'print "A" x 9000'`
[ The editors opens with 'Illegal file name' in its status line ]

Kaneda Akira wrote:
on Redhat 7.0 (VIM 5.7.8)
# vi `perl -e 'print "A" x 9000'`
Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault (core dumped)
# uname -a
Linux riven 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
#


Current thread: