diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2009-10-12 14:29:45 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2009-10-12 14:29:45 +0000 |
commit | 884cf3f1c045fb9b0c98ad011f4158cc8eabb72a (patch) | |
tree | b360747011b77698d06a9f03e9df1f018fe8c813 /ext/standard/html.c | |
parent | ed3e96197ded1fea0db5c09bfc6290a833af35c8 (diff) | |
download | php-git-884cf3f1c045fb9b0c98ad011f4158cc8eabb72a.tar.gz |
- 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.
Diffstat (limited to 'ext/standard/html.c')
-rw-r--r-- | ext/standard/html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c index 7932194cb8..5a4a0abb16 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -688,7 +688,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); } |