Vulnerability Development mailing list archives

RE: vi buffer overflow


From: Piyush Agarwal <pvagarwal () yahoo com>
Date: Sun, 11 Nov 2001 17:50:01 -0800 (PST)

Tried values from 50000 to 150000 on SunOS 5.6 under
bash gives segmentation fault & bus error sometimes
while tcsh gives "Word too long"

-PA

--- Blue Boar <BlueBoar () thievco com> wrote:

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.





__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com


Current thread: