Bug #68704 [Opn->Csd]: incorrect parenthesis

From: Date: Thu, 08 Jan 2015 08:38:24 +0000
Subject: Bug #68704 [Opn->Csd]: incorrect parenthesis
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189737@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68704&edit=1 ID: 68704 Updated by: laruence@php.net Reported by: honey at internot dot info Summary: incorrect parenthesis -Status: Open +Status: Closed Type: Bug Package: PCRE related Operating System: Linux Ubuntu 14.04 PHP Version: master-Git-2014-12-31 (Git) Block user comment: N Private report: N New Comment: Automatic comment on behalf of laruence Revision: http://git.php.net/?p=php-src.git;a=commit;h=d7fd9406915e3b8cf66764305e82b0cae2414545 Log: Fixed #68704 Previous Comments: ------------------------------------------------------------------------ [2014-12-31 09:13:18] honey at internot dot info Description: ------------ Hi, In php_pcre.c on L379: 378 if (BG(locale_string) && 379 (!BG(locale_string)->len != 1 || !BG(locale_string)->val[0] != 'C')) It should probably be: !(BG(locale_string)->len != 1) || [..] or something like that. Either way, it's incorrect checking in both ways. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68704&edit=1

« previous php.bugs (#189737) next »