Re: [PHP-DEV] [patch] allow socket_[gs]et_options() to work on streams

2011-03-05 Thread Gustavo Lopes
On Sat, 05 Mar 2011 15:19:31 -, Vincent NEGRIER wrote: The goal of this patch is to allow user handling of low level socket options for stream sockets created with stream_socket_*() or fsockopen() functions. I choose to extend the socket_get_options() and socket_set_options() funct

[PHP-DEV] [patch] allow socket_[gs]et_options() to work on streams

2011-03-05 Thread Vincent NEGRIER
Hi internals, The goal of this patch is to allow user handling of low level socket options for stream sockets created with stream_socket_*() or fsockopen() functions. I choose to extend the socket_get_options() and socket_set_options() functions and keep the functionality inside the sockets

Re: [PHP-DEV] PDO odbc patch

2011-03-05 Thread Elizabeth M Smith
On 3/5/2011 10:48 AM, Christopher Jones wrote: On 3/5/11 5:58 AM, Elizabeth Smith wrote: Attached is a patch that works for both 5.3 and trunk, includes an additional test for the issue. Hi Elizabeth, Can you log a bug and attach the patch? Thanks Chris Bug filed, patch attached (any

Re: [PHP-DEV] PDO odbc patch

2011-03-05 Thread Christopher Jones
On 3/5/11 5:58 AM, Elizabeth Smith wrote: Attached is a patch that works for both 5.3 and trunk, includes an additional test for the issue. Hi Elizabeth, Can you log a bug and attach the patch? Thanks Chris -- Email: christopher.jo...@oracle.com Tel: +1 650 506 8630 Blog: http://blogs

[PHP-DEV] PDO odbc patch

2011-03-05 Thread Elizabeth Smith
Morning, I found an issue this week that exists in both odbc and pdo_odbc with SQL Server. The ODBC implemention of Windows returns 0 as the length for for varchar(max) nad nvarchar(max). This makes the allocation of the strings incorrect and you get back garbage pointers for the contents. Thi

[PHP-DEV] PHP Tainted Support

2011-03-05 Thread Daniel Zulla
hi list, i'm working as a penetration tester and php developer for various german webhosting companies. i just wanted to ask - what happened to the great idea of tainted-flags in a development-mode php interpreter, after 2008? as far as i can see, there are two implementations: http://wiki.php.n