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

Re: [PATCH] Fix zparseopts segfault



On Mon 6 Oct 2025, at 03:47, Joshua Krusell wrote:
> Commit d051857e0 introduced a null dereference bug in bin_zparseopts. If
> the parameter argument to `-v` in zparseopts is unset or not an array,
> then getaparam will return NULL and zsh will segfault.

thanks. i probably thought the other check above would catch it. merged

dana




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