Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: aliases+=(foo 'echo bar') crash
On Wed, 23 Jul 2014 17:09:35 +0100
Stephane Chazelas <stephane.chazelas@xxxxxxxxx> wrote:
> $ zsh -c 'aliases+=(a b)'
> *** Error in `zsh': double free or corruption (out): 0x00007f55e838f7e0 ***
> zsh: abort zsh -c 'aliases+=(a b)'
I haven't got very far with this, but I'm suspicious of this blithe
assumption in arrhashsetfn()...
/* ...but we can use the value without copying. */
setstrvalue(v, *aptr++);
The crash is down there (it comes up as just a debug warning for me, I
assume it's the same thing).
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author