]> granicus.if.org Git - php/commitdiff
Fixed bug #65720 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c:281: bad if test
authorYasuo Ohgaki <yohgaki@php.net>
Mon, 18 Jan 2016 01:51:29 +0000 (10:51 +0900)
committerYasuo Ohgaki <yohgaki@php.net>
Mon, 18 Jan 2016 01:51:29 +0000 (10:51 +0900)
ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c

index 8d733a9d1979919b2d3237a6bf0d024dccf2e8b8..3db085dff40eedcebd6377dd02ab14f2730504cd 100644 (file)
@@ -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) */