[PHP-DEV] Re: segfault in html_entity_decode

2005-05-11 Thread Joe Orton
On Wed, May 11, 2005 at 04:18:40AM -0700, Kamesh Jayachandran wrote: Hi Derick and Joe, html_entity_decode('ensp;thinsp;lsquo;dagger;prime;frasl;euro;', ENT_QUOTES, 'UTF-8'); (same testcase bug #29119) is causing Segfault in NetWare. The cause of the segfault seems to be the size of

[PHP-DEV] Re: segfault in html_entity_decode

2005-05-11 Thread Kamesh Jayachandran
Hi Joe, The array should be as follows, static entity_table_t ent_uni_338_402[] = { /* 338 (0x0152) */ OElig, oelig, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 352 (0x0160) */ Scaron, scaron, NULL, NULL, NULL, NULL, NULL,