Re: [PHP-DEV] Vote for Zend Deep Stack Prevention (ZDSP)

2006-02-26 Thread Michael Vergoz
Ah, I've read Stefan's Hardened patch, and yes, it is much simpler & superior than the patch that Michael Vergoz proposed. Yes yes :D I simply never get the segfault - so i can control the process execution. other way other idea other man. I had implemented this way with sigaltstack() the probl

Re: [PHP-DEV] Vote for Zend Deep Stack Prevention (ZDSP)

2006-02-26 Thread Michael Vergoz
Ah, I've read Stefan's Hardened patch, and yes, it is much simpler & superior than the patch that Michael Vergoz proposed. Yes yes :D I simply never get the segfault - so i can control the process execution. other way other idea other man. I had implemented this way with sigaltstack() the probl

Re: [PHP-DEV] extension and apache 2.x compatibility issue.

2006-02-26 Thread D. Walsh
On Feb 26, 2006, at 22:17 , Rasmus Lerdorf wrote: D. Walsh wrote: On Feb 24, 2006, at 07:11 , Wez Furlong wrote: My suggestion is to download, compile and use valgrind and see what problems that highlights in your code. Since you are specifically directing me to do this I will attempt to ge

Re: [PHP-DEV] extension and apache 2.x compatibility issue.

2006-02-26 Thread Rasmus Lerdorf
D. Walsh wrote: On Feb 24, 2006, at 07:11 , Wez Furlong wrote: My suggestion is to download, compile and use valgrind and see what problems that highlights in your code. Since you are specifically directing me to do this I will attempt to get valgrind installed and working in Mac OSX, as so

Re: [PHP-DEV] extension and apache 2.x compatibility issue.

2006-02-26 Thread D. Walsh
On Feb 24, 2006, at 07:11 , Wez Furlong wrote: My suggestion is to download, compile and use valgrind and see what problems that highlights in your code. Since you are specifically directing me to do this I will attempt to get valgrind installed and working in Mac OSX, as soon as I have tha

Re: [PHP-DEV] Vote for Zend Deep Stack Prevention (ZDSP)

2006-02-26 Thread Nuno Lopes
Using recursive functions without any constraint is a bad programming practice, period. You should always implement a pop/push stack in those situations to avoid getting into infinite or near infinite recursion. Ilia OK, but the good compilers/interpreters don't segfault.. This time its my t

Re: [PHP-DEV] Vote for Zend Deep Stack Prevention (ZDSP)

2006-02-26 Thread Ilia Alshanetsky
Using recursive functions without any constraint is a bad programming practice, period. You should always implement a pop/push stack in those situations to avoid getting into infinite or near infinite recursion. Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] Vote for Zend Deep Stack Prevention (ZDSP)

2006-02-26 Thread Michael Vergoz
Hello, I reply to Nuno because i think its post is the more objective i have seen. The stack grows up/down is easy to know as Nuno said. What more ? 5 functions, 3 global vars, some checks into recursive function that all... Nothing impressive and it's a pruposing. It's sure that i need more ti