com php-src: Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfi lter_cp5022x.c:281: bad if test: ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c
| From: | Yasuo Ohgaki | Date: | Mon, 18 Jan 2016 01:51:29 +0000 |
| Subject: | com php-src: Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfi lter_cp5022x.c:281: bad if test: ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90674@lists.php.net to get a copy of this message | ||
Commit: dc23f1f38f649f9a42ebd70e7301462779f82935
Author: Yasuo Ohgaki <yohgaki@php.net> Mon, 18 Jan 2016 10:51:29 +0900
Parents: bfb9307b2d679a91e138fd876880470ece60942b
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dc23f1f38f649f9a42ebd70e7301462779f82935
Log:
Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if test
Bugs:
https://bugs..php.net/65720
Changed paths:
M ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c
Diff:
diff --git a/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c
b/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c
index 8d733a9..3db085d 100644
--- a/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c
+++ b/ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c
@@ -278,7 +278,7 @@ retry:
w = cp932ext1_ucs_table[s - cp932ext1_ucs_table_min];
} else if (s >= cp932ext2_ucs_table_min && s < cp932ext2_ucs_table_max) {
w = cp932ext2_ucs_table[s - cp932ext2_ucs_table_min];
- } else if (s >= cp932ext3_ucs_table_min && s < cp932ext2_ucs_table_max) {
+ } else if (s >= cp932ext3_ucs_table_min && s < cp932ext3_ucs_table_max) {
w = cp932ext3_ucs_table[s - cp932ext3_ucs_table_min];
} else if (s >= 94 * 94 && s < 114 * 94) {
/* user-defined => PUA (Microsoft extended) */