Browse Source

- 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.

experimental/5.3-FPM
Moriyoshi Koizumi 17 years ago
parent
commit
884cf3f1c0
  1. 2
      ext/standard/html.c

2
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);
}

Loading…
Cancel
Save