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

Re: zsh exhausting swap



Bart Schaefer wrote:

> The crash eventually occurs when a buffer as large as zsh needs cannot
> be allocated.
> 
> However, I don't understand what you expect zsh to do differently.

One problem is that sizeline() doens't test if it gets a NULL back
from `realloc()'.
The problem is that we would have to add error-catching code to all
places where this is used...

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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