zsh-workers
 help / color / mirror / code / Atom feed
* BUG: `ls\<enter><enter>` seg fault
@ 2015-11-12 23:39 Ollie Ford
  2015-11-13  1:11 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Ollie Ford @ 2015-11-12 23:39 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

I am not a subscriber.

In zsh --version:
zsh 5.0.8 (x86_64-apple-darwin15.0)

Iff there is an alias set on ls, then entering `ls\` followed by twice the
return key (i.e. the line break was accidental; the user just meant `ls`)
causes a segmentation fault.

In terminal, this looks likes like a Ctrl-d logout:
(`alias ls=ls -GFh` in zshrc)
% ls\
>
[Process completed]

In a fresh zsh -f we see why:
% alias ls=ls
% ls\
>
zsh: segmentation fault  zsh -f

Regards,
Ollie

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BUG: `ls\<enter><enter>` seg fault
  2015-11-12 23:39 BUG: `ls\<enter><enter>` seg fault Ollie Ford
@ 2015-11-13  1:11 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2015-11-13  1:11 UTC (permalink / raw)
  To: Ollie Ford, zsh-workers

On Nov 12, 11:39pm, Ollie Ford wrote:
}
} Iff there is an alias set on ls, then entering `ls\` followed by twice the
} return key (i.e. the line break was accidental; the user just meant `ls`)
} causes a segmentation fault.

This is fixed in zsh 5.1, patches posted in July 2015.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-13  1:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12 23:39 BUG: `ls\<enter><enter>` seg fault Ollie Ford
2015-11-13  1:11 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).