Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Crash with read-only CDPATH
- X-seq: zsh-workers 52984
- From: Connor Olding <cloningdonor@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Crash with read-only CDPATH
- Date: Sat, 29 Jun 2024 17:11:04 -0700
- Archived-at: <https://zsh.org/workers/52984>
- List-id: <zsh-workers.zsh.org>
Hey. I don't really use mailing lists, but I have a bug to report. This minimal example immediately crashes zsh:
readonly CDPATH; CDPATH= cd
zsh:1: read-only variable: CDPATH
free(): invalid pointer
Aborted (core dumped)
This version of zsh was installed from the Ubuntu 24.04 (x86_64) repos; the package version is 5.9-6ubuntu2. I can confirm the issue is also present (it hangs) on MSYS2, where the package version is 5.9-2.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author