Browse Source

This needs to be larger to avoid an overflow on the bit-shifting in this function

experimental/first_unicode_implementation
Rasmus Lerdorf 17 years ago
parent
commit
0ca2db41a9
  1. 2
      ext/xml/xml.c

2
ext/xml/xml.c

@ -667,7 +667,7 @@ PHPAPI char *xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_
{
int pos = len;
char *newbuf = emalloc(len + 1);
unsigned short c;
unsigned int c;
char (*decoder)(unsigned short) = NULL;
xml_encoding *enc = NULL;

Loading…
Cancel
Save