[cp-patches] [PATCH] Fix Matcher.find() infinite loop bug

2011-03-02 Thread Pekka Enberg
This patch fixes a problem in Match.find() where the following piece of code would enter an infinite loop: Pattern p = Pattern.compile(\u); Matcher m = p.matcher(hello, world); System.out.println(m.find()); Signed-off-by: Pekka Enberg penb...@kernel.org --- ChangeLog

Re: [cp-patches] [PATCH] Fix Matcher.find() infinite loop bug

2011-03-02 Thread Dr Andrew John Hughes
On 16:22 Wed 02 Mar , Pekka Enberg wrote: This patch fixes a problem in Match.find() where the following piece of code would enter an infinite loop: Pattern p = Pattern.compile(\u); Matcher m = p.matcher(hello, world); System.out.println(m.find()); Seems a sensible