zsh-workers
 help / color / mirror / code / Atom feed
* Regexp match bug in 5.0.8
@ 2015-09-01 10:09 disarmer
  2015-09-01 10:23 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: disarmer @ 2015-09-01 10:09 UTC (permalink / raw)
  To: zsh-workers

Hello!
It seems I found bug in zsh 5.0.8. If I run this code, shell goes to infinite cycle:

[[ "Р#" =~ '#' ]] 

It breaks only with this letter («Р» is "CYRILLIC CAPITAL LETTER ER", 0x0420). It seems older versions(at least 5.0.5) and 5.1 are not vulnerable.
Locale is ru_RU.UTF-8.


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

* Re: Regexp match bug in 5.0.8
  2015-09-01 10:09 Regexp match bug in 5.0.8 disarmer
@ 2015-09-01 10:23 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2015-09-01 10:23 UTC (permalink / raw)
  To: disarmer, zsh-workers

On Tue, 1 Sep 2015 13:09:47 +0300
disarmer <disarmer.mk@gmail.com> wrote:
> Hello!
> It seems I found bug in zsh 5.0.8. If I run this code, shell goes to infinite cycle:
> 
> [[ "Р#" =~ '#' ]] 

Yes, that was nasty --- should be fixed in 5.1, just released.

pws


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

end of thread, other threads:[~2015-09-01 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-01 10:09 Regexp match bug in 5.0.8 disarmer
2015-09-01 10:23 ` Peter Stephenson

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).