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

Speaking of dangerous referents



Oliver wrote:
> > And it could be wise to limit what can be done as part of the
> > subscript evaluation to avoid a CVE similar to the last one.

% print $ZSH_PATCHLEVEL
ubuntu/5.8-3ubuntu1.1
% empty=()
% loop='empty[${(P)loop}]'
% print ${(P)loop}
zsh: segmentation fault (core dumped)  zsh -f




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