On 28.10.2009 15:55, Allon Stern wrote:
> In any case, I'd recommend doubling the stack until you find a value
> that works, then back off by powers of two until it doesn't, then back
> up a couple of steps as a safety margin. Or, depending on how
> memory-rich you are, you can just leave it with a bunch of extra memory.
> So if 64K works, give it 128K of stack, for a good safety margin (which
> is still no guarantee you won't be vulnerable to a stack overflow).

Even with 1M it still shows this phenomenon. Surprisingly sshd works
fine. What makes me also wonder is the fact that the pointer "environ"
hasn't just some random value as I would expect it with a stack
overflow. It always "points" to 0x58585858.
Maybe there is something wrong with the exec() command of my platform
library?


Regards
        Christoph


-- 

Dipl.-Phys. Christoph Baumann
Power PLUS Communications AG
Am Exerzierplatz 2
68167 Mannheim
Germany

phone: +49(621)40165-???
fax:   +49(621)40165-???
mailto://c.baum...@ppc-ag.de
http://www.ppc-ag.de

Handelsregister-Nr.: HRB 8853
Sitz und Registergericht: Mannheim
Vorstand: Ingo Schönberg (Vorsitzender), Eugen Mayer
Vorsitzender des Aufsichtsrates Univ.-Prof. Dr. Torsten Gerpott


THE INFORMATION CONTAINED IN THIS ELECTRONIC MAIL TRANSMISSION IS
CONFIDENTIAL AND MAY ALSO CONTAIN PRIVILEGED INFORMATION OR WORK
PRODUCT. THE INFORMATION IS INTENDED ONLY FOR THE USE OF THE
INDIVIDUAL OR ENTITY TO WHOM IT IS ADDRESSED. IF YOU ARE NOT THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY USE,
DISSEMINATION, DISTRIBUTION OR COPYING OF THIS COMMUNICATION IS
STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS ELECTRONIC MAIL
TRANSMISSION IN ERROR, PLEASE IMMEDIATELY ERASE AND DELETE THE
ORIGINAL MESSAGE FROM YOUR DATABASE

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to