[PHP-CVS] com php-src: - BFN: NEWS

2012-05-18 Thread Felipe Pena
Commit:c9331a3ef27018a93ce17d0ed87bce3c689e8eec
Author:Felipe Pena  Fri, 18 May 2012 21:26:24 
-0300
Parents:   88275e547fb8c94a9fc23e057dd96f9fc19b3ede
Branches:  PHP-5.4

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=c9331a3ef27018a93ce17d0ed87bce3c689e8eec

Log:
- BFN

Changed paths:
  M  NEWS


Diff:
diff --git a/NEWS b/NEWS
index 6b63e90..ce906b9 100644
--- a/NEWS
+++ b/NEWS
@@ -56,6 +56,10 @@ PHP  
  NEWS
 - Libxml:
   . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
 (Laruence)
+
+- XML Writer:
+  . Fixed bug #62064 (memory leak in the XML Writer module). 
+(jean-pierre dot lozi at lip6 dot fr)
 
 - Zlib:
   . Fixed bug #61820 (using ob_gzhandler will complain about headers already


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



[PHP-CVS] com php-src: - Fixed bug #62064 (memory leak in the XML Writer module): ext/xmlwriter/php_xmlwriter.c

2012-05-18 Thread Felipe Pena
Commit:f5e2315660cbaa0278bb90c2eb5a71a7bdc30405
Author:Felipe Pena  Fri, 18 May 2012 19:34:39 
-0300
Parents:   ebe16343a28d5a4cda89907611eda5870bd60456
Branches:  master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=f5e2315660cbaa0278bb90c2eb5a71a7bdc30405

Log:
- Fixed bug #62064 (memory leak in the XML Writer module)

Bugs:
https://bugs.php.net/62064

Changed paths:
  M  ext/xmlwriter/php_xmlwriter.c


Diff:
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c
index 84be01d..0514b17 100644
--- a/ext/xmlwriter/php_xmlwriter.c
+++ b/ext/xmlwriter/php_xmlwriter.c
@@ -614,6 +614,7 @@ static char *_xmlwriter_get_valid_file_path(char *source, 
char *resolved_path, i
/* absolute file uris - libxml only supports localhost or empty 
host */
if (strncasecmp(source, "file:///", 8) == 0) {
if (source[sizeof("file:///") - 1] == '\0') {
+   xmlFreeURI(uri);
return NULL;
}
isFileUri = 1;
@@ -624,6 +625,7 @@ static char *_xmlwriter_get_valid_file_path(char *source, 
char *resolved_path, i
 #endif
} else if (strncasecmp(source, "file://localhost/",17) == 0) {
if (source[sizeof("file://localhost/") - 1] == '\0') {
+   xmlFreeURI(uri);
return NULL;
}


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



[PHP-CVS] com php-src: Merge branch 'PHP-5.3' into PHP-5.4: ext/xmlwriter/php_xmlwriter.c

2012-05-18 Thread Felipe Pena
Commit:88275e547fb8c94a9fc23e057dd96f9fc19b3ede
Author:Felipe Pena  Fri, 18 May 2012 19:23:42 
-0300
Parents:   29a85d49ae02d192f03243636b14845209c0ca0d 
6d928fd26d27e00da4a6b812b231ca526ddecaac
Branches:  PHP-5.4

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=88275e547fb8c94a9fc23e057dd96f9fc19b3ede

Log:
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  - Fixed bug #62064 (memory leak in the XML Writer module)

Bugs:
https://bugs.php.net/62064

Changed paths:
  MM  ext/xmlwriter/php_xmlwriter.c


Diff:



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



[PHP-CVS] com php-src: - Fixed bug #62064 (memory leak in the XML Writer module): ext/xmlwriter/php_xmlwriter.c

2012-05-18 Thread Felipe Pena
Commit:6d928fd26d27e00da4a6b812b231ca526ddecaac
Author:Felipe Pena  Fri, 18 May 2012 19:23:29 
-0300
Parents:   72a9b595ca3e1bc07cf1aa51c91dcbc973f89d10
Branches:  PHP-5.3 PHP-5.4

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=6d928fd26d27e00da4a6b812b231ca526ddecaac

Log:
- Fixed bug #62064 (memory leak in the XML Writer module)

Bugs:
https://bugs.php.net/62064

Changed paths:
  M  ext/xmlwriter/php_xmlwriter.c


Diff:
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c
index 4ea76da..588ca4b 100644
--- a/ext/xmlwriter/php_xmlwriter.c
+++ b/ext/xmlwriter/php_xmlwriter.c
@@ -616,6 +616,7 @@ static char *_xmlwriter_get_valid_file_path(char *source, 
char *resolved_path, i
/* absolute file uris - libxml only supports localhost or empty 
host */
if (strncasecmp(source, "file:///", 8) == 0) {
if (source[sizeof("file:///") - 1] == '\0') {
+   xmlFreeURI(uri);
return NULL;
}
isFileUri = 1;
@@ -626,6 +627,7 @@ static char *_xmlwriter_get_valid_file_path(char *source, 
char *resolved_path, i
 #endif
} else if (strncasecmp(source, "file://localhost/",17) == 0) {
if (source[sizeof("file://localhost/") - 1] == '\0') {
+   xmlFreeURI(uri);
return NULL;
}


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



[PHP-CVS] com php-src: - BFN: NEWS

2012-05-18 Thread Felipe Pena
Commit:79d52503a40e2efba4f27514373eb6cc7273d4ae
Author:Felipe Pena  Fri, 18 May 2012 19:38:02 
-0300
Parents:   6d928fd26d27e00da4a6b812b231ca526ddecaac
Branches:  PHP-5.3

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=79d52503a40e2efba4f27514373eb6cc7273d4ae

Log:
- BFN

Changed paths:
  M  NEWS


Diff:
diff --git a/NEWS b/NEWS
index 7fe462b..5f1146a 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,10 @@ PHP
NEWS
 
 ?? ??? 2012, PHP 5.3.14
 
+- XML Writer:
+  . Fixed bug #62064 (memory leak in the XML Writer module). 
+(jean-pierre dot lozi at lip6 dot fr)
+
 (merge after release)
 
 08 May 2012, PHP 5.3.13


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