Re: TCSH problems?

From: Flux9 (flux9at_private)
Date: Wed Jun 06 2001 - 01:27:46 PDT

  • Next message: Edsel Adap: "Re: TCSH problems?"

    Alex wrote:
    
    >         After some ktracing, and code auditing by myself and a colleague,
    > we believe the problem *may* infact be in libc's setenv() and getenv()
    > functions.  We were able to duplicate the bug on various platforms, mostly
    > causing signal 6s and dumping cores.  Feedback would be appreciated
    >
    > > > setenv HOME `perl -e 'print "/" x 10000'`
    >
    >                                         ^ Length varies from 1024-10000
    > for effectiveness on diffrent OSes.
    >
    > -Alex
    
    check this out:
    
    (slackware 7.1, tcsh 6.09)
    
    read(3, "/////////////////////////////////" ..., 1024) = 784
    
    After looking at strace results, it appears as the excess char's blow out
    that
    buffer (1024 bytes), but the actual abort results from massive forking of
    children after this buffer is blown, not the buffer itself. who knows.
    



    This archive was generated by hypermail 2b30 : Wed Jun 06 2001 - 10:53:17 PDT