From f55919cfa2ca48f5701fd244e2f627e772c636e4 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Mon, 12 Oct 2009 14:29:45 +0000 Subject: [PATCH] - Bug #49785: take 4 - typo. this flaw is unharmful since the return value of get_next_char() is only used when UTF-8 is specified to the third argument. --- ext/standard/html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/html.c b/ext/standard/html.c index bfd4946557..6684a75f89 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -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); } -- 2.50.1