Back to bug 1399534

Who When What Removed Added
Kamil Dudka 2016-11-29 10:59:36 UTC Status NEW ASSIGNED
Kamil Dudka 2016-11-29 11:10:01 UTC Status ASSIGNED MODIFIED
Fixed In Version zsh-5.0.2-25.el7_3.1
errata-xmlrpc 2016-11-29 13:06:38 UTC Status MODIFIED ON_QA
Jan Kepler 2016-11-29 13:25:55 UTC QA Contact qe-baseos-apps jkejda
Jan Kepler 2016-12-07 10:59:33 UTC Status ON_QA VERIFIED
Kamil Dudka 2016-12-15 17:26:29 UTC Doc Text Cause:
If the implementation of command substitution reallocated a token string, the pointer to the allocated memory was not updated at caller's side.

Consequence:
This caused an invalid memory dereference and abnormal termination of the shell process.

Fix:
An upstream patch has been applied on Zsh source code to make sure that pointers to allocated memory are updated accordingly.

Result:
Zsh does not terminate abnormally any more when the token string is reallocated.
Doc Type If docs needed, set a value Bug Fix
Clayton Spicer 2016-12-15 18:48:35 UTC CC cspicer
Doc Text Cause:
If the implementation of command substitution reallocated a token string, the pointer to the allocated memory was not updated at caller's side.

Consequence:
This caused an invalid memory dereference and abnormal termination of the shell process.

Fix:
An upstream patch has been applied on Zsh source code to make sure that pointers to allocated memory are updated accordingly.

Result:
Zsh does not terminate abnormally any more when the token string is reallocated.
Due to a bug in the code underlying command substitution, the Z shell (zsh) terminated unexpectedly when reallocating a token string. This has been fixed, and zsh no longer crashes in this situation.
Clayton Spicer 2016-12-16 12:54:50 UTC Doc Text Due to a bug in the code underlying command substitution, the Z shell (zsh) terminated unexpectedly when reallocating a token string. This has been fixed, and zsh no longer crashes in this situation. Due to a bug in the code underlying command substitution, the Z shell (zsh) terminated unexpectedly after reallocating a token string. This has been fixed, and zsh no longer crashes in this situation.
errata-xmlrpc 2017-01-17 12:03:10 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2017-01-17 18:10:45 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2017-01-17 13:10:45 UTC
Zdenek Pytela 2017-01-18 14:59:19 UTC Link ID Red Hat Knowledge Base (Solution) 2877061
Fixed In Version zsh-5.0.2-25.el7_3.1
Zdenek Pytela 2017-01-18 15:01:14 UTC Fixed In Version zsh-5.0.2-25.el7_3.1

Back to bug 1399534