In builtin.c in zsh before 5.4, when sh compatibility mode is used, there is a NULL pointer dereference during processing of the cd command with no argument if HOME is not set.
A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Zsh | Zsh_project | * | 5.4 (excluding) |
Red Hat Enterprise Linux 7 | RedHat | zsh-0:5.0.2-31.el7 | * |
Zsh | Ubuntu | artful | * |
Zsh | Ubuntu | trusty | * |
Zsh | Ubuntu | xenial | * |