Re: [PHP-DEV] Segmentation fault in html_entity_decode

2005-01-12 Thread Kamesh Jayachandran
Hi Moriyoshi, My mistake. I Thought you would have fixed these 2 in one commit and diffed the latest with earlier one version and found only one fix. Now things work fine. With regards Kamesh Jayachandran On Wed, 12 Jan 2005 17:27:06 +0900, "Moriyoshi Koizumi" <[EMAIL PROTECTED]> said: > > On

Re: [PHP-DEV] Segmentation fault in html_entity_decode

2005-01-12 Thread Moriyoshi Koizumi
On 2005/01/12, at 16:31, Kamesh Jayachandran wrote: Hi Moriyoshi, Still ent_uni_8592_9002's actual size is 410 but accessed with a index 410. Huh? I'm confident about it :) It's certainly 411. #include static char *ent_uni_8592_9002[] = { /* 8592 (0x2190) */ "larr", "uarr", "rarr"

Re: [PHP-DEV] Segmentation fault in html_entity_decode

2005-01-11 Thread Kamesh Jayachandran
Hi Moriyoshi, Still ent_uni_8592_9002's actual size is 410 but accessed with a index 410. With regards Kamesh Jayachandran On Wed, 12 Jan 2005 05:51:01 +0900, "Moriyoshi Koizumi" <[EMAIL PROTECTED]> said: > Now fixed in CVS. Thanks for the good report. > > Moriyoshi > > On 2005/01/10, at 22:30,

Re: [PHP-DEV] Segmentation fault in html_entity_decode

2005-01-11 Thread Moriyoshi Koizumi
Now fixed in CVS. Thanks for the good report. Moriyoshi On 2005/01/10, at 22:30, Kamesh Jayachandran wrote: Hi All, The following script causes a segmentation fault in NetWare but not on Windows or Linux versions of php-5.0.3 I can not attribute to NetWare instead I could see the defect in our ext

[PHP-DEV] Segmentation fault in html_entity_decode

2005-01-10 Thread Kamesh Jayachandran
Hi All, The following script causes a segmentation fault in NetWare but not on Windows or Linux versions of php-5.0.3 I can not attribute to NetWare instead I could see the defect in our ext/standard/html.c The cause seems to be the following arrays are accessed with a index that is beyond their