[PHP-CVS] cvs: php-src /main php_variables.c

2009-05-27 Thread Antony Dovgal
tony2001Wed May 27 14:53:05 2009 UTC Modified files: /php-src/main php_variables.c Log: use request encoding when parsing cookies fixes 14 segfaults in HEAD

[PHP-CVS] cvs: php-src /main php_variables.c

2009-05-23 Thread Pierre-Alain Joye
pajoye Sat May 23 18:46:05 2009 UTC Modified files: /php-src/main php_variables.c Log: - fix build, fix TS build http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.156r2=1.157diff_format=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2009-05-23 Thread Jani Taskinen
janiSat May 23 18:52:03 2009 UTC Modified files: /php-src/main php_variables.c Log: ws http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.157r2=1.158diff_format=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2009-04-24 Thread Arnaud Le Blanc
lbarnaudFri Apr 24 15:44:35 2009 UTC Modified files: /php-src/main php_variables.c Log: Fix memleak on empty GET var (tests/basic/011.phpt) http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.154r2=1.155diff_format=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2008-09-10 Thread Arnaud Le Blanc
lbarnaudWed Sep 10 14:12:55 2008 UTC Modified files: /php-src/main php_variables.c Log: Fix php_u_register_variable_ex(), avoid readding some uninitialized data after the end of the variable name

[PHP-CVS] cvs: php-src /main php_variables.c

2008-08-30 Thread Rasmus Lerdorf
rasmus Sat Aug 30 16:53:05 2008 UTC Modified files: /php-src/main php_variables.c Log: Fix for bugs 13961, 39927 and 45947 http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.147r2=1.148diff_format=u Index: php-src/main/php_variables.c

[PHP-CVS] cvs: php-src /main php_variables.c

2008-08-30 Thread Rasmus Lerdorf
rasmus Sat Aug 30 18:28:48 2008 UTC Modified files: /php-src/main php_variables.c Log: Fix the assert http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.148r2=1.149diff_format=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2007-07-18 Thread Antony Dovgal
tony2001Wed Jul 18 11:46:28 2007 UTC Modified files: /php-src/main php_variables.c Log: add comment (the code is not that obvious indeed) http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.142r2=1.143diff_format=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2007-06-05 Thread Antony Dovgal
tony2001Tue Jun 5 11:24:13 2007 UTC Modified files: /php-src/main php_variables.c Log: port the max_input_nesting_level ini option to Unicode mode http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.141r2=1.142diff_format=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2007-06-04 Thread Antony Dovgal
tony2001Mon Jun 4 07:56:39 2007 UTC Modified files: /php-src/main php_variables.c Log: no register_globals in HEAD http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.140r2=1.141diff_format=u Index: php-src/main/php_variables.c

[PHP-CVS] cvs: php-src /main php_variables.c /tests/basic 027.phpt

2007-06-03 Thread Ilia Alshanetsky
iliaa Sun Jun 3 16:19:55 2007 UTC Modified files: /php-src/tests/basic027.phpt /php-src/main php_variables.c Log: MFB: Improved fix for MOPB-02-2007 http://cvs.php.net/viewvc.cgi/php-src/tests/basic/027.phpt?r1=1.1r2=1.2diff_format=u

[PHP-CVS] cvs: php-src /main php_variables.c /tests/basic 027.phpt

2007-06-03 Thread Jani Taskinen
sniper Sun Jun 3 16:53:37 2007 UTC Modified files: /php-src/main php_variables.c /php-src/tests/basic027.phpt Log: - Improved the error message for exceeding max_input_nesting_level.

[PHP-CVS] cvs: php-src /main php_variables.c

2007-03-28 Thread Antony Dovgal
tony2001Wed Mar 28 09:13:55 2007 UTC Modified files: /php-src/main php_variables.c Log: fix compile warning http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.137r2=1.138diff_format=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2006-12-12 Thread Andrei Zmievski
andrei Tue Dec 12 18:05:08 2006 UTC Modified files: /php-src/main php_variables.c Log: Keep CLI args as binary strings. http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.134r2=1.135diff_format=u Index: php-src/main/php_variables.c diff

[PHP-CVS] cvs: php-src /main php_variables.c

2006-12-09 Thread Ilia Alshanetsky
iliaa Sat Dec 9 13:14:06 2006 UTC Modified files: /php-src/main php_variables.c Log: MFB: Strip leading spaces from cookie names, that can come from multi-cookie headers where ; can be followed by any number of spaces.

[PHP-CVS] cvs: php-src /main php_variables.c

2006-10-21 Thread Johannes Schl
johannesSat Oct 21 10:01:39 2006 UTC Modified files: /php-src/main php_variables.c Log: - Fix merging of $_REQUEST in unicode mode and remove $GLOBALS check from register_globals times

[PHP-CVS] cvs: php-src /main php_variables.c

2006-08-08 Thread Antony Dovgal
tony2001Tue Aug 8 17:05:14 2006 UTC Modified files: /php-src/main php_variables.c Log: unused variable http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.129r2=1.130diff_format=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c rfc1867.c

2006-07-27 Thread Ilia Alshanetsky
iliaa Thu Jul 27 17:14:24 2006 UTC Modified files: /php-src/main php_variables.c rfc1867.c Log: MFB: Fixed bug #38236 (Binary data gets corrupted on multipart/formdata POST).

[PHP-CVS] cvs: php-src /main php_variables.c

2006-05-03 Thread Dmitry Stogov
dmitry Wed May 3 11:24:51 2006 UTC Modified files: /php-src/main php_variables.c Log: Fixed bug #37276 (problems witch $_POST array) http://cvs.php.net/viewcvs.cgi/php-src/main/php_variables.c?r1=1.126r2=1.127diff_format=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2006-04-18 Thread Dmitry Stogov
dmitry Tue Apr 18 06:58:54 2006 UTC Modified files: /php-src/main php_variables.c Log: Fixed memory leaks http://cvs.php.net/viewcvs.cgi/php-src/main/php_variables.c?r1=1.125r2=1.126diff_format=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2006-04-07 Thread Dmitry Stogov
dmitry Fri Apr 7 13:57:39 2006 UTC Modified files: /php-src/main php_variables.c Log: Optimization http://cvs.php.net/viewcvs.cgi/php-src/main/php_variables.c?r1=1.123r2=1.124diff_format=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c /tests/basic 011.phpt

2006-03-20 Thread Dmitry Stogov
dmitry Mon Mar 20 10:18:50 2006 UTC Modified files: /php-src/main php_variables.c /php-src/tests/basic011.phpt Log: Fixed register_argc_argv behavior. Now it behave in the same way as before in combinations with variables_order and

[PHP-CVS] cvs: php-src /main php_variables.c

2006-03-17 Thread Dmitry Stogov
dmitry Fri Mar 17 08:59:02 2006 UTC Modified files: /php-src/main php_variables.c Log: Allowed 'auto_globals_jit' work together with 'register_argc_argv' http://cvs.php.net/viewcvs.cgi/php-src/main/php_variables.c?r1=1.120r2=1.121diff_format=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c /tests/basic 011.phpt bug29971.phpt

2006-03-17 Thread Dmitry Stogov
dmitry Fri Mar 17 15:04:23 2006 UTC Modified files: /php-src/main php_variables.c /php-src/tests/basic011.phpt bug29971.phpt Log: Fixed register_argc_argv

[PHP-CVS] cvs: php-src /main php_variables.c

2006-02-13 Thread Dmitry Stogov
dmitry Mon Feb 13 12:18:31 2006 UTC Modified files: /php-src/main php_variables.c Log: Fixed bug #36205 (Memory leaks on duplicate cookies) http://cvs.php.net/viewcvs.cgi/php-src/main/php_variables.c?r1=1.112r2=1.113diff_format=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2006-02-13 Thread Dmitry Stogov
dmitry Mon Feb 13 16:35:36 2006 UTC Modified files: /php-src/main php_variables.c Log: pval - zval (Steph) http://cvs.php.net/viewcvs.cgi/php-src/main/php_variables.c?r1=1.113r2=1.114diff_format=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2005-08-12 Thread Dmitry Stogov
dmitry Fri Aug 12 09:27:38 2005 EDT Modified files: /php-src/main php_variables.c Log: Fixed incorrect variable parsing in non-unicode mode http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.106r2=1.107ty=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2005-07-25 Thread Rasmus Lerdorf
rasmus Mon Jul 25 18:37:37 2005 EDT Modified files: /php-src/main php_variables.c Log: I could have sworn I committed this a while ago. Just a tiny NULL safety check here.

[PHP-CVS] cvs: php-src /main php_variables.c

2005-07-19 Thread Wez Furlong
wez Tue Jul 19 14:59:47 2005 EDT Modified files: /php-src/main php_variables.c Log: Don't crash when no treat_data method has been set in the sapi module # how come no one ran into this before?

[PHP-CVS] cvs: php-src /main php_variables.c

2005-07-19 Thread Wez Furlong
wez Tue Jul 19 15:25:33 2005 EDT Modified files: /php-src/main php_variables.c Log: revert my last change; chasing ghosts. # the lesson is, ensure that php4 and php5 aren't loaded at the same time

[PHP-CVS] cvs: php-src /main php_variables.c

2005-06-01 Thread Dmitry Stogov
dmitry Wed Jun 1 05:44:10 2005 EDT Modified files: /php-src/main php_variables.c Log: Fixed refcount counting for autoglobals http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.95r2=1.96ty=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2005-05-31 Thread Dmitry Stogov
dmitry Tue May 31 13:42:15 2005 EDT Modified files: /php-src/main php_variables.c Log: Fixed possible memory corruption on request shutdown `valgrind -q --tool=memcheck sapi/cli/php tests/reflection/001.phpt`

[PHP-CVS] cvs: php-src /main php_variables.c /tests/basic bug29971.phpt

2005-05-25 Thread Dmitry Stogov
dmitry Wed May 25 13:41:50 2005 EDT Modified files: /php-src/main php_variables.c /php-src/tests/basicbug29971.phpt Log: Fixed bug #29971 (variables_order behaviour)

[PHP-CVS] cvs: php-src /main php_variables.c

2005-04-25 Thread Jani Taskinen
sniper Mon Apr 25 17:18:16 2005 EDT Modified files: /php-src/main php_variables.c Log: Revert. (Nokia is not that important :) http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.92r2=1.93ty=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2005-04-24 Thread Ilia Alshanetsky
iliaa Sun Apr 24 13:52:21 2005 EDT Modified files: /php-src/main php_variables.c Log: Fixed bug #32802 (General cookie overrides more specific cookie). http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.90r2=1.91ty=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2005-04-24 Thread Ilia Alshanetsky
iliaa Sun Apr 24 14:11:55 2005 EDT Modified files: /php-src/main php_variables.c Log: MFB: zval** not zval* http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.91r2=1.92ty=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2005-04-23 Thread Jani Taskinen
sniper Sat Apr 23 15:30:29 2005 EDT Modified files: /php-src/main php_variables.c Log: ws, pval - zval http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.88r2=1.89ty=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2005-04-23 Thread Jani Taskinen
sniper Sat Apr 23 16:33:35 2005 EDT Modified files: /php-src/main php_variables.c Log: - Fixed bug #32111 (Cookies can also be separated by colon) http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.89r2=1.90ty=u Index:

Re: [PHP-CVS] cvs: php-src /main php_variables.c

2005-04-23 Thread Stefan Esser
Jani Taskinen wrote: sniper Sat Apr 23 16:33:35 2005 EDT Modified files: /php-src/main php_variables.c Log: - Fixed bug #32111 (Cookies can also be separated by colon) Could you please revert that patch, or implement the RFC correctly? Now PHP handles cookies in a

[PHP-CVS] cvs: php-src /main php_variables.c

2005-03-28 Thread Ilia Alshanetsky
iliaa Mon Mar 28 13:09:29 2005 EDT Modified files: /php-src/main php_variables.c Log: Fixed memory leak when variables_order does not contain 'S'. http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.85r2=1.86ty=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2005-03-28 Thread Ilia Alshanetsky
iliaa Mon Mar 28 13:46:58 2005 EDT Modified files: /php-src/main php_variables.c Log: Proper fix for the memory leak. http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.86r2=1.87ty=u Index: php-src/main/php_variables.c diff -u

Fw: [PHP-CVS] cvs: php-src /main php_variables.c

2005-03-28 Thread Antony Dovgal
Zeev, do you mind if I merge this patch to PHP_5_0 branch? The leak is reproducible when PHP is build with --enable-debug and there is no S in variables_order. iliaa Mon Mar 28 13:46:58 2005 EDT Modified files: /php-src/main php_variables.c Log: Proper

Re: [PHP-CVS] cvs: php-src /main php_variables.c

2005-02-17 Thread Moriyoshi Koizumi
On 2005/02/17, at 13:44, Ilia Alshanetsky wrote: + } else { + (*src_entry)-refcount--; + } Wouldn't it be better to use zend_ptr_dtor() here? Moriyoshi -- PHP CVS Mailing List (http://www.php.net/) To

Re: [PHP-CVS] cvs: php-src /main php_variables.c

2005-02-17 Thread Ilia Alshanetsky
A few lines above it we do (*src_entry)-refcount++;, so for clarity reasons IMO it is better to revert the affect of the earlier statement by doing (*src_entry)-refcount--;. Ilia Moriyoshi Koizumi wrote: On 2005/02/17, at 13:44, Ilia Alshanetsky wrote: +} else { +

[PHP-CVS] cvs: php-src /main php_variables.c

2005-02-16 Thread Ilia Alshanetsky
iliaa Wed Feb 16 23:44:12 2005 EDT Modified files: /php-src/main php_variables.c Log: Fixed bug #31440 ($GLOBALS can be overwritten via GPC when register_globals is enabled).

[PHP-CVS] cvs: php-src /main php_variables.c

2004-10-18 Thread Antony Dovgal
tony2001Mon Oct 18 11:05:06 2004 EDT Modified files: /php-src/main php_variables.c Log: fix bug #30442 ( segmentation fault when parsing ?getvariable[][ ) http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.82r2=1.83ty=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2004-09-09 Thread Rasmus Lerdorf
rasmus Thu Sep 9 12:10:24 2004 EDT Modified files: /php-src/main php_variables.c Log: Stop at the index on an unmatched [ http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.81r2=1.82ty=u Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2004-07-11 Thread Stefan Esser
sesser Sun Jul 11 16:13:39 2004 EDT Modified files: /php-src/main php_variables.c Log: Fixed: PARSE_TYPE parameter to input_filter Fixed: input_filter should also be able to filter empty variables by name

[PHP-CVS] cvs: php-src /main php_variables.c

2004-06-26 Thread Stefan Esser
sesser Sat Jun 26 04:09:29 2004 EDT Modified files: /php-src/main php_variables.c Log: As long we pass values by reference this is needed. Ugly! http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.77r2=1.78ty=u Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2003-12-01 Thread Derick Rethans
derick Mon Dec 1 14:25:08 2003 EDT Modified files: /php-src/main php_variables.c Log: - Fix the default SAPI filter too; all weird problems should be gone again. Index: php-src/main/php_variables.c diff -u php-src/main/php_variables.c:1.73

[PHP-CVS] cvs: php-src /main php_variables.c rfc1867.c

2003-11-26 Thread Derick Rethans
derick Wed Nov 26 04:53:23 2003 EDT Modified files: /php-src/main php_variables.c rfc1867.c Log: - Prevent registration of the variable when a zero-length is returned from the sapi_input_filter. Index: php-src/main/php_variables.c diff -u

Re: [PHP-CVS] cvs: php-src /main php_variables.c rfc1867.c

2003-11-26 Thread Rasmus Lerdorf
Are you sure this is a good idea? An empty string value in a POST has always caused the variable to be created and set to an empty string. With this patch you are changing that behaviour. -Rasmus On Wed, 26 Nov 2003, Derick Rethans wrote: derickWed Nov 26 04:53:23 2003 EDT

[PHP-CVS] cvs: php-src /main php_variables.c

2003-10-13 Thread Ilia Alshanetsky
iliaa Mon Oct 13 23:49:13 2003 EDT Modified files: /php-src/main php_variables.c Log: Fixed bug #25836 (last key of multi-dimensional array passed via GPC not being escaped when magic_quotes_gpc is on). Index: php-src/main/php_variables.c diff -u

[PHP-CVS] cvs: php-src /main php_variables.c

2003-10-07 Thread Stanislav Malyshev
stasTue Oct 7 04:46:17 2003 EDT Modified files: /php-src/main php_variables.c Log: Fix $_SERVER['argv'] and $_SERVER['argc'] Index: php-src/main/php_variables.c diff -u php-src/main/php_variables.c:1.69 php-src/main/php_variables.c:1.70 ---

[PHP-CVS] cvs: php-src /main php_variables.c

2003-10-01 Thread Andrei Zmievski
andrei Wed Oct 1 19:12:01 2003 EDT Modified files: /php-src/main php_variables.c Log: Made the $argc and $argv always available as globals in CLI, and not as $_SERVER vars which depended on variables_order anyway. No more silliness. Index:

[PHP-CVS] cvs: php-src /main php_variables.c

2003-07-31 Thread Ilia Alshanetsky
iliaa Thu Jul 31 18:29:32 2003 EDT Modified files: /php-src/main php_variables.c Log: Fixed bug #24883 (variables created through register_globals, ignore gpc_order and variables_order). Prevent multiple registration of ENV SERVER variables when more

[PHP-CVS] cvs: php-src /main php_variables.c

2003-07-31 Thread Ilia Alshanetsky
iliaa Thu Jul 31 18:56:57 2003 EDT Modified files: /php-src/main php_variables.c Log: Only register server variables when needed. Index: php-src/main/php_variables.c diff -u php-src/main/php_variables.c:1.67 php-src/main/php_variables.c:1.68 ---

[PHP-CVS] cvs: php-src /main php_variables.c

2003-07-21 Thread Zeev Suraski
zeevMon Jul 21 13:42:24 2003 EDT Modified files: /php-src/main php_variables.c Log: Fix register_globals Index: php-src/main/php_variables.c diff -u php-src/main/php_variables.c:1.64 php-src/main/php_variables.c:1.65 ---