]> granicus.if.org Git - php/commitdiff
- Bug #49785: take 4 - typo. this flaw is unharmful since the return value of get_nex...
authorMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 12 Oct 2009 14:29:45 +0000 (14:29 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 12 Oct 2009 14:29:45 +0000 (14:29 +0000)
ext/standard/html.c

index bfd49465577042c8120ad2353c10aab761ad4a82..6684a75f89ebae420fd099c56492b980fa947ff6 100644 (file)
@@ -694,7 +694,7 @@ inline static unsigned int get_next_char(enum entity_charset charset,
                                                MB_WRITE(this_char);
                                                MB_WRITE(next_char);
                                                MB_WRITE(next2_char);
-                                               this_char = (this_char << 16) | (next_char << 8) | next_char;
+                                               this_char = (this_char << 16) | (next_char << 8) | next2_char;
                                        } else {
                                                MB_FAILURE(pos);
                                        }