Re: vi buffer overflow

From: walter valenti (waltervalentiat_private)
Date: Fri Nov 09 2001 - 01:46:50 PST

  • Next message: Bruce Ediger: "RE: Infected jpeg files?"

    On Debian GNU/Linux 2.2.19 (nvi 1.79-16a.1) vi don'tcrash.
    
    du don't crash: File name too long
    
        Walter
    
    > Did some testing of my own.
    >
    > 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
    > #
    >
    > however du on redhat 7 was okay (du version 4.0x)
    >
    > Also tested my slackware 7 system, vi and du didnt
    > crash (vi/elvis 2.1_4, du 4.0)
    > [Slackware system: Linux myst 2.2.16 #121 Fri Jun 16 20:43:40 PDT 2000
    > i486 unknown]
    >
    > --- KF <dotslashat_private> wrote:
    > > Not sure how big of a deal either of these are due
    > > to the fact that they
    > > are not suid... any thoughts?
    > >
    > > # vi `perl -e 'print "A" x 9000'`
    > > Memory fault - core dumped
    > >
    > > # du `perl -e 'print "A" x 9000'`
    > > Memory fault - core dumped
    > >
    > >
    > > # uname -a
    > > SCO_SV scosysv 3.2 5.0.6 i386
    > >
    > > -KF
    >
    > ---
    > Kaneda Akira
    > ICQ#49107701
    > Email: k_anedaat_private
    > Mobile: 0418 445 821 (Australia only)
    > --
    > That's why we spend so much time trying to understand our own
    > motivations and those of others.  That's what makes life so
    > interesting.
    >     -- Kaji, Evangelion Ep 18
    > --
    > The only secure computer is one that's unplugged, locked in a safe,
    > and buried 20 feet under the ground in a secret location... and i'm
    > not even too sure about that one"--Dennis Huges, FBI.
    
    
    _________________________________________________________
    Do You Yahoo!?
    Get your free @yahoo.com address at http://mail.yahoo.com
    



    This archive was generated by hypermail 2b30 : Fri Nov 09 2001 - 10:37:56 PST