Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: emacs core dump: getenv problem?



Thomas Klausner wrote:
>(gdb) p environ[0]
>$4 = 0xb <Address 0xb out of bounds>
>(gdb) p environ[1]
>$5 = 0x0
>
>Any ideas how this can happen?

I had a similar problem a couple of weeks ago, ld(1) was placing an
array just before the environ variable and the application was writing
data beyond the end of the array.

Robert Swindells




Home | Main Index | Thread Index | Old Index