Bug #65720 [Opn->Csd]: ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if test ?
Edit report at https://bugs.php.net/bug.php?id=65720&edit=1
ID: 65720
Updated by: yohgaki@php.net
Reported by: dcb314 at hotmail dot com
Summary: ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281:
bad if test ?
-Status: Open
+Status: Closed
Type: Bug
Package: mbstring related
Operating System: linux
PHP Version: 5.5.4
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dc23f1f38f649f9a42ebd70e7301462779f82935
Log: Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if test
Previous Comments:
------------------------------------------------------------------------
[2013-09-20 08:54:59] dcb314 at hotmail dot com
Description:
------------
I just ran static analyser "cppcheck" over the source code
of php-5.5.3
It said
[/home/dcb/rpmbuild/BUILD/php-5.5.3/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281]: (warning)
Logical conjunction always evaluates to false: s < 8648 && s >= 10716.
This looks like a copy'n'paste error to me.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65720&edit=1
Thread (2 messages)