In subst.c in zsh through 5.4.2, there is a NULL pointer dereference when using ${(PA)...} on an empty array result.
The product dereferences a pointer that it expects to be valid but is NULL.
Link | Tags |
---|---|
https://usn.ubuntu.com/3593-1/ | third party advisory vendor advisory |
https://security.gentoo.org/glsa/201805-10 | third party advisory vendor advisory |
https://sourceforge.net/p/zsh/code/ci/110b13e1090bc31ac1352b28adc2d02b6d25a102 | third party advisory patch |