diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2019-04-25 17:08:43 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2019-04-25 17:09:26 +0100 |
commit | d4972af12c29bded4706464dbae3458e5a425d00 (patch) | |
tree | d6ab87fed9d007c6117d32f4160c8140b466a5bb /ChangeLog | |
parent | 39b0f5540c624f11d087632ae2d67a113d84a773 (diff) | |
download | zsh-d4972af12c29bded4706464dbae3458e5a425d00.tar.gz zsh-d4972af12c29bded4706464dbae3458e5a425d00.tar.xz zsh-d4972af12c29bded4706464dbae3458e5a425d00.zip |
44254: Handle error case in zgetdir().
When retrieving path to current directory by looking for /, ensure we have actually reached / by comparing inode. If the current directory became invalid on some OSes including Linux the parent directory is valid but is the same as the current one.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 641af5671..a5ac4f333 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-04-25 Peter Stephenson <p.stephenson@samsung.com> + + * 44254: Src/compat.c: make quite sure we've reached "/" + in zgetdir(), else report an error. + 2019-04-22 Matthew Martin <phy1729@gmail.com> * unposted: Completion/Base/Utility/_pick_variant: Use |