[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-10-17 Thread neuromancer
bugs is fixed on php (2010-05-12)

** Also affects: php via
   http://bugs.php.net/bug.php?id=51741
   Importance: Unknown
   Status: Unknown

** Changed in: php5 (Ubuntu)
   Status: Incomplete = Fix Released

** Changed in: php5 (Ubuntu)
   Status: Fix Released = Confirmed

** Changed in: php5 (Ubuntu)
   Status: Confirmed = Fix Released

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-08-20 Thread jsalvata
The conversation around the upstream bug report continued... it was a
PHP error, as the docs in http://php.net/manual/en/function.preg-
match.php read: preg_match() returns FALSE if an error occurred. --
but it was returning 0 for this error.

According to bjori at php.net in http://bugs.php.net/bug.php?id=51741,
it has already been fixed upstream.


** Bug watch added: bugs.php.net/ #51741
   http://bugs.php.net/bug.php?id=51741

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-08-15 Thread Vladimir Kolesnikov
This is neither PHP nor PCRE bug — the default backtrack limit
(xontrolled by pcre.backtrack_limit configuration directive) used by PHP
is too low for this case.

That is,

$ php
?php
$res = preg_match(/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/, 
a:b);
echo $res, ' ', preg_last_error(), \n;
?

0 2

2 is PREG_BACKTRACK_LIMIT_ERROR.

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-25 Thread jsalvata
We've verified this bug occurs on the latest PHP version, 5.3.2

I will report it upstream.

di...@telemaco:~/Desktop/php-5.3.2/sapi/cli$ ./php --version
PHP 5.3.2 (cli) (built: Apr 25 2010 23:58:33)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
di...@telemaco:~/Desktop/php-5.3.2/sapi/cli$ ./php __END__

?= preg_match(/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/,
a:b) ?

__END__
0

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-25 Thread jsalvata
The upstream bug report is here: http://bugs.php.net/bug.php?id=51663


** Bug watch added: bugs.php.net/ #51663
   http://bugs.php.net/bug.php?id=51663

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-19 Thread Chuck Short
Thank you for taking the time to report this bug and helping to make
Ubuntu better. The issue that you reported is one that should be
reproducible with the live environment of the Desktop CD of the
development release - Lucid Lynx. It would help us greatly if you could
test with it so we can work on getting it fixed in the next release of
Ubuntu. You can find out more about the development release at
http://www.ubuntu.com/testing/  . Thanks again and we appreciate your
help.

** Changed in: php5 (Ubuntu)
   Importance: Undecided = Low

** Changed in: php5 (Ubuntu)
   Status: New = Incomplete

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-17 Thread jsalvata

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/44609087/Dependencies.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/44609088/XsessionErrors.txt

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs