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

Re: Patch for curses module



On Sep 12,  6:45pm, Sebastian Gniazdowski wrote:
}
} Wonder if there is a workaround to have memory from zalloc() cleared
} e.g. by proper sequence of calls in zsh script or by an environment
} variable, etc.

Very unlikely.  It would depend on the system malloc library
implementation, if there were any possibility of doing it with an
environment setting.  If it were possible to create arbitrary memory
state on the malloc heap by proper sequence of script calls, that
would be a potential security issue.

There's probably some way to write a script loop that keeps creating
the same color entry repeatedly until it is successfully looked up,
but I don't know what that code would look like.



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