Vulnerability Development mailing list archives

RE: vi buffer overflow


From: Blue Boar <BlueBoar () thievco com>
Date: Fri, 09 Nov 2001 11:52:24 -0800


NOTE TO MOD: please remove my name and email from this message.  thanks.

OK.


try 14000 and up.  weird behavior starts there.  also, once you hit around
50000 things start to dump core.

-----Original Message-----
From: Piyush Agarwal [mailto:pvagarwal () yahoo com]
Sent: Friday, November 09, 2001 11:25 AM
To: vuln-dev () securityfocus com
Subject: Re: vi buffer overflow

Test results on SunOS 5.6:

# vi `perl -e 'print "A" x 9000'`
File name too long
[Hit enter to return]

# du `perl -e 'print "A" x 9000'`
File name too long

both commands dont result in to a seg fault.



Current thread: