[PHP-CVS-DAILY] cvs: php-src / ChangeLog

2007-03-19 Thread changelog
changelog   Tue Mar 20 01:31:03 2007 UTC

  Modified files:  
/php-srcChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/php-src/ChangeLog?r1=1.2634r2=1.2635diff_format=u
Index: php-src/ChangeLog
diff -u php-src/ChangeLog:1.2634 php-src/ChangeLog:1.2635
--- php-src/ChangeLog:1.2634Mon Mar 19 01:31:00 2007
+++ php-src/ChangeLog   Tue Mar 20 01:31:03 2007
@@ -1,3 +1,62 @@
+2007-03-19  Antony Dovgal  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_strtod.c:
+  add folding tags
+
+2007-03-19  Ilia Alshanetsky  [EMAIL PROTECTED]
+
+* (PHP_5_2)
+  NEWS
+  ext/imap/php_imap.c
+  ext/imap/tests/bug40854.phpt
+  ext/imap/tests/bug40854.phpt:
+  
+  Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for
+  multipart e-mails).
+
+2007-03-19  Dmitry Stogov  [EMAIL PROTECTED]
+
+* ZendEngine2/zend_vm_def.h
+  ZendEngine2/zend_vm_execute.h
+  ZendEngine2/tests/bug40833.phpt:
+  Fixed bug #40833 (Crash when using unset() on an ArrayAccess object
+  retrieved via __get()).
+
+* ZendEngine2/tests/bug40833.phpt
+  ZendEngine2/tests/bug40833.phpt:
+  
+  file bug40833.phpt was initially added on branch PHP_5_2.
+
+* (PHP_5_2)
+  NEWS
+  ZendEngine2/zend_vm_def.h
+  ZendEngine2/zend_vm_execute.h:
+  Fixed bug #40833 (Crash when using unset() on an ArrayAccess object
+  retrieved via __get())
+
+2007-03-19  Antony Dovgal  [EMAIL PROTECTED]
+
+* ext/session/session.c:
+  MFB
+
+* (PHP_5_2)
+  ext/reflection/tests/bug40794.phpt:
+  new test
+
+* ext/reflection/tests/bug40794.phpt
+  ext/reflection/tests/bug40794.phpt:
+  
+  new test
+
+2007-03-19  Edin Kadribasic  [EMAIL PROTECTED]
+
+* win32/build/confutils.js:
+  MFB: Make DLL only once (Wez)
+
+* (PHP_5_2)
+  win32/build/confutils.js:
+  Make DLL only once (Wez)
+
 2007-03-18  Rob Richards  [EMAIL PROTECTED]
 
 * (PHP_5_2)


[PHP-CVS-DAILY] cvs: ZendEngine2 / ChangeLog

2007-03-19 Thread changelog
changelog   Tue Mar 20 01:31:05 2007 UTC

  Modified files:  
/ZendEngine2ChangeLog 
  Log:
  ChangeLog update
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/ChangeLog?r1=1.1083r2=1.1084diff_format=u
Index: ZendEngine2/ChangeLog
diff -u ZendEngine2/ChangeLog:1.1083 ZendEngine2/ChangeLog:1.1084
--- ZendEngine2/ChangeLog:1.1083Fri Mar 16 01:31:11 2007
+++ ZendEngine2/ChangeLog   Tue Mar 20 01:31:05 2007
@@ -1,3 +1,24 @@
+2007-03-19  Antony Dovgal  [EMAIL PROTECTED]
+
+* zend_strtod.c:
+  add folding tags
+
+2007-03-19  Dmitry Stogov  [EMAIL PROTECTED]
+
+* zend_vm_def.h
+  zend_vm_execute.h
+  tests/bug40833.phpt:
+  Fixed bug #40833 (Crash when using unset() on an ArrayAccess object
+  retrieved via __get()).
+
+* (PHP_5_2)
+  zend_vm_def.h
+  zend_vm_execute.h
+  tests/bug40833.phpt
+  tests/bug40833.phpt:
+  Fixed bug #40833 (Crash when using unset() on an ArrayAccess object
+  retrieved via __get())
+
 2007-03-15  Antony Dovgal  [EMAIL PROTECTED]
 
 * (PHP_5_2)
@@ -17121,7 +17142,7 @@
 2003-06-10  Jani Taskinen  [EMAIL PROTECTED]
 
 * zend_multiply.h:
-  - Missing $Id: ChangeLog,v 1.1083 2007/03/16 01:31:11 changelog Exp $ tag
+  - Missing $Id: ChangeLog,v 1.1084 2007/03/20 01:31:05 changelog Exp $ tag
 
 2003-06-10  James Cox  [EMAIL PROTECTED]
 
@@ -18845,7 +18866,7 @@
   zend_types.h
   zend_variables.c
   zend_variables.h:
-  - Added some missing CVS $Id: ChangeLog,v 1.1083 2007/03/16 01:31:11 
changelog Exp $ tags, headers and footers.
+  - Added some missing CVS $Id: ChangeLog,v 1.1084 2007/03/20 01:31:05 
changelog Exp $ tags, headers and footers.
 
 2003-01-30  Ilia Alshanetsky  [EMAIL PROTECTED]
 


Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard array.c

2007-03-19 Thread Antony Dovgal

On 03/18/2007 11:20 PM, Wez Furlong wrote:

wez Sun Mar 18 20:20:23 2007 UTC

  Modified files:  (Branch: PHP_5_2)
/php-src/ext/standard	array.c 
  Log:

  fixes #40848


Is there any test case?

--
Wbr, 
Antony Dovgal


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/reflection/tests bug40794.phpt

2007-03-19 Thread Antony Dovgal
tony2001Mon Mar 19 08:09:55 2007 UTC

  Added files: 
/php-src/ext/reflection/tests   bug40794.phpt 
  Log:
  new test
  
  

http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/tests/bug40794.phpt?view=markuprev=1.1
Index: php-src/ext/reflection/tests/bug40794.phpt
+++ php-src/ext/reflection/tests/bug40794.phpt
--TEST--
Bug #40794 (ReflectionObject::getValues() may crash when used with dynamic 
properties)
--SKIPIF--
?php
if (!extension_loaded(reflection)) {
die(skip);
}
?
--FILE--
?php

$obj = new stdClass();
$obj-prop1 = '1';
$obj-prop2 = '2';
$obj-prop3 = '3';

$reflect = new ReflectionObject($obj);

$array = array();
foreach($reflect-getProperties() as $prop)
{
$array[$prop-getName()] = $prop-getValue($obj);
}

var_dump($array);

echo Done\n;
?
--EXPECTF-- 
array(3) {
  [prop1]=
  string(1) 1
  [prop2]=
  string(1) 2
  [prop3]=
  string(1) 3
}
Done
--UEXPECTF--
array(3) {
  [uprop1]=
  unicode(1) 1
  [uprop2]=
  unicode(1) 2
  [uprop3]=
  unicode(1) 3
}
Done

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src /ext/session session.c

2007-03-19 Thread Antony Dovgal
tony2001Mon Mar 19 08:24:17 2007 UTC

  Modified files:  
/php-src/ext/sessionsession.c 
  Log:
  MFB
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/session/session.c?r1=1.466r2=1.467diff_format=u
Index: php-src/ext/session/session.c
diff -u php-src/ext/session/session.c:1.466 php-src/ext/session/session.c:1.467
--- php-src/ext/session/session.c:1.466 Sat Feb 24 16:25:55 2007
+++ php-src/ext/session/session.c   Mon Mar 19 08:24:17 2007
@@ -17,7 +17,7 @@
+--+
  */
 
-/* $Id: session.c,v 1.466 2007/02/24 16:25:55 helly Exp $ */
+/* $Id: session.c,v 1.467 2007/03/19 08:24:17 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include config.h
@@ -437,6 +437,7 @@
} else if (PS(invalid_session_id)) { /* address instances where the 
session read fails due to an invalid id */
PS(invalid_session_id) = 0;
efree(PS(id));
+   PS(id) = NULL;
goto new_session;
}
 }
@@ -1592,6 +1593,7 @@
RETURN_FALSE;
}
efree(PS(id));
+   PS(id) = NULL;
}

PS(id) = PS(mod)-s_create_sid(PS(mod_data), NULL TSRMLS_CC);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard array.c

2007-03-19 Thread Wez Furlong

I'm surprised that we don't have one for this already.

You can observe that the patch is correct because this list:
http://omniti.com/people
is sorted alphabetically by last name when running on amd64 solaris,  
and without the patch, it was not.


--Wez.



On Mar 19, 2007, at 3:59 AM, Antony Dovgal wrote:


On 03/18/2007 11:20 PM, Wez Furlong wrote:

wez Sun Mar 18 20:20:23 2007 UTC
  Modified files:  (Branch: PHP_5_2)
/php-src/ext/standard   array.c   Log:
  fixes #40848


Is there any test case?

--
Wbr, Antony Dovgal


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard array.c

2007-03-19 Thread Antony Dovgal

On 03/19/2007 05:40 PM, Wez Furlong wrote:

I'm surprised that we don't have one for this already.

You can observe that the patch is correct because this list:
http://omniti.com/people
is sorted alphabetically by last name when running on amd64 solaris,  
and without the patch, it was not.


Well, then how about creating one?
I don't think I can find an AMD64 Solaris machine for tests.

--
Wbr, 
Antony Dovgal


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_5_2) / NEWS /ext/imap php_imap.c /ext/imap/tests bug40854.phpt

2007-03-19 Thread Ilia Alshanetsky
iliaa   Mon Mar 19 22:56:58 2007 UTC

  Added files: (Branch: PHP_5_2)
/php-src/ext/imap/tests bug40854.phpt 

  Modified files:  
/php-src/ext/imap   php_imap.c 
/php-srcNEWS 
  Log:
  
  Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for 
  multipart e-mails).
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/imap/php_imap.c?r1=1.208.2.7.2.23r2=1.208.2.7.2.24diff_format=u
Index: php-src/ext/imap/php_imap.c
diff -u php-src/ext/imap/php_imap.c:1.208.2.7.2.23 
php-src/ext/imap/php_imap.c:1.208.2.7.2.24
--- php-src/ext/imap/php_imap.c:1.208.2.7.2.23  Sun Mar 11 18:42:19 2007
+++ php-src/ext/imap/php_imap.c Mon Mar 19 22:56:57 2007
@@ -26,7 +26,7 @@
| PHP 4.0 updates:  Zeev Suraski [EMAIL PROTECTED]   |
+--+
  */
-/* $Id: php_imap.c,v 1.208.2.7.2.23 2007/03/11 18:42:19 iliaa Exp $ */
+/* $Id: php_imap.c,v 1.208.2.7.2.24 2007/03/19 22:56:57 iliaa Exp $ */
 
 #define IMAP41
 
@@ -3188,7 +3188,7 @@
disp_param-next = tmp_param;
tmp_param = disp_param;
}
-   bod-parameter = disp_param;
+   bod-parameter = disp_param;
}
}
if (zend_hash_find(Z_ARRVAL_PP(data), subtype, 
sizeof(subtype), (void **) pvalue)== SUCCESS) {
@@ -3337,7 +3337,7 @@
} while ((part = part-next)); /* until done */
 
/* output trailing cookie */
-   spprintf(tempstring, 0, %s--%s--%s, mystring, tmp, 
CRLF);
+   spprintf(tempstring, 0, %s--%s--%s, mystring, 
cookie, CRLF);
efree(mystring);
mystring=tempstring;
} else if (bod) {
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.601r2=1.2027.2.547.2.602diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.601 php-src/NEWS:1.2027.2.547.2.602
--- php-src/NEWS:1.2027.2.547.2.601 Mon Mar 19 18:31:29 2007
+++ php-src/NEWSMon Mar 19 22:56:57 2007
@@ -21,6 +21,8 @@
 - Fixed zend_llist_remove_tail (Michael Wallner, Dmitry)
 - Fixed a thread safety issue in gd gif read code (Nuno, Roman Nemecek)
 - Fixed CVE-2007-1001, GD wbmp used with invalid image size (Pierre)
+- Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for 
+  multipart e-mails). (Ilia)
 - Fixed bug #40848 (sorting issue on 64-bit Solaris). (Wez)
 - Fixed bug #40836 (Segfault in ext/dom). (Rob)
 - Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved

http://cvs.php.net/viewvc.cgi/php-src/ext/imap/tests/bug40854.phpt?view=markuprev=1.1
Index: php-src/ext/imap/tests/bug40854.phpt
+++ php-src/ext/imap/tests/bug40854.phpt

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/standard array.c

2007-03-19 Thread Wez Furlong

On 3/19/07, Antony Dovgal [EMAIL PROTECTED] wrote:

On 03/19/2007 05:40 PM, Wez Furlong wrote:
 I'm surprised that we don't have one for this already.

 You can observe that the patch is correct because this list:
 http://omniti.com/people
 is sorted alphabetically by last name when running on amd64 solaris,
 and without the patch, it was not.

Well, then how about creating one?
I don't think I can find an AMD64 Solaris machine for tests.


You don't need an AMD64 Solaris machine to write a test, you need time.

--Wez.

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php