Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Obscure overflow with very long path; completion



On Saturday 2005-05-07 16:23 +1000, Bart Schaefer output:
:Try this patch?

Quick response.  Haven't investigated.

% cd /tmp
% for I in {1..100}; mkdir aaaaaaaaaaaaaaaaaaaa && cd aaaaaaaaaaaaaaaaaaaa
MEM: allocation error at sbrk.
zsh: fatal error: out of memory
% 
% gdb zsh
(gdb) run
% cd /tmp
% for I in {1..100}; cd aaaaaaaaaaaaaaaaaaaa
(gdb) bt
#0  0xbdb94f83 in strcmp () from /usr/lib/libc.so.12
#1  0x61616161 in ?? ()
(stack trashed)



Messages sorted by: Reverse Date, Date, Thread, Author