[Pkg-zsh-devel] Bug#856046: Bug#856046: Bug#856046: zsh: fix two segfaults in zsh/parameter module appends
Daniel Shahaf
danielsh at apache.org
Sat Feb 25 08:09:50 UTC 2017
Axel Beckert wrote on Fri, Feb 24, 2017 at 19:13:59 +0100:
> Control: tag -1 + confirmed
> Control: forwarded -1 http://www.zsh.org/mla/workers/2017/msg00251.html
> Control: found -1 4.3.17-1
> Control: found -1 5.0.7-5
>
Thanks for the investigation, Axel. Minor update:
> > Please find attached two segfault fixes for zsh.
>
> The according upstream bug report (which only covers one half of the
> issue as it's currently known) can be found at
> http://www.zsh.org/mla/workers/2017/msg00251.html
>
> Following is a minimal case reproduce this on Debian Sid/Stretch with
> 5.3.1-3:
>
> → zsh -f
> stretch% options+=()
> stretch% options+=()
> [1] - 17934 segmentation fault (core dumped) zsh -f
> → zsh -f
> stretch% functions+=()
> stretch% functions+=()
> [1] 18988 segmentation fault (core dumped) zsh -f
I've just pushed upstream the fix for this (attached to the OP) in
revision 6c476c22111122006dcacc767b2c2846ede881e8 towards 5.3.2/5.4.
Remaining work (upstream) is to audit the remainder of the module for
additional instances of this problem.
Cheers,
Daniel
More information about the Pkg-zsh-devel
mailing list