Bug #65720 [Opn->Csd]: ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if test ?

From: Date: Mon, 18 Jan 2016 01:53:31 +0000
Subject: Bug #65720 [Opn->Csd]: ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if test ?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198742@lists.php.net to get a copy of this message
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)

« previous php.bugs (#198742) next »