[lkml]   [2000]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Command-line anomoly V2.3.35
    > > IMHO, programs that depend on overwriting argv members without regard to
    > > checking for buffer overflows are broken, especially from a portability
    > > standpoint. The space for the args is allocated on the user stack at
    > > exec time, and the limits are stored in the mm struct for the task (this
    > > is from binfmt_elf.c). If you exceed that space you will spill into the
    > > space for the environment variables.
    > >
    > Yes, but who checks environment variables anyway? <grin>
    You may not care about the environment, but then you ought to worry
    about what comes next. Unusual, but a program may run with no
    environment or something really short.

    Even the case of IP-adresses could get longish now that IP v6 is coming.

    Helge Hafting

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:55    [W:0.022 / U:11.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site