From 040871458c27f4a71739d4e7348eea2ab1b033b2 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 ff01c76cd8..44ca59b16c 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -689,7 +689,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