Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Fix zparseopts segfault
- X-seq: zsh-workers 54003
- From: dana <dana@xxxxxxx>
- To: "Joshua Krusell" <js.shirin@xxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Fix zparseopts segfault
- Date: Fri, 24 Oct 2025 14:38:39 -0500
- Archived-at: <https://zsh.org/workers/54003>
- Feedback-id: i9be146f9:Fastmail
- In-reply-to: <r43oicm6eszywltkbarhz4dcna6ck7umaqq3bg6722vibfyksw@wmxkxjirbb5v>
- List-id: <zsh-workers.zsh.org>
- References: <r43oicm6eszywltkbarhz4dcna6ck7umaqq3bg6722vibfyksw@wmxkxjirbb5v>
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