pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2008Q4]: pkgsrc/lang/php5 Pullup ticket #2709 - requested by s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d8e26e9944a7
branches: pkgsrc-2008Q4
changeset: 552347:d8e26e9944a7
user: tron <tron%pkgsrc.org@localhost>
date: Thu Feb 26 13:43:59 2009 +0000
description:
Pullup ticket #2709 - requested by sborrill
php-imap: bug fix
Revisions pulled up:
- lang/php5/distinfo 1.60 (via patch)
- lang/php5/patches/patch-as 1.4
- mail/php-imap/Makefile 1.18
---
Module Name: pkgsrc
Committed By: sborrill
Date: Wed Feb 25 08:59:47 UTC 2009
Modified Files:
pkgsrc/lang/php5: distinfo
pkgsrc/mail/php-imap: Makefile
Added Files:
pkgsrc/lang/php5/patches: patch-as
Log Message:
Fix memory leak and pullup bug fix for http://bugs.php.net/bug.php?id=46918
Remove this patch when PHP >= 5.2.9 is released as it will contain these
changes
Bump PKGREVISION of php-imap
diffstat:
lang/php5/distinfo | 4 +++-
lang/php5/patches/patch-as | 27 +++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletions(-)
diffs (46 lines):
diff -r d9cc915b6646 -r d8e26e9944a7 lang/php5/distinfo
--- a/lang/php5/distinfo Thu Feb 26 13:20:39 2009 +0000
+++ b/lang/php5/distinfo Thu Feb 26 13:43:59 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.56 2008/12/10 19:37:01 adrianp Exp $
+$NetBSD: distinfo,v 1.56.2.1 2009/02/26 13:43:59 tron Exp $
SHA1 (php-5.2.8/php-5.2.8.tar.bz2) = d285636144e0a4aa61195793634807e763c63dc3
RMD160 (php-5.2.8/php-5.2.8.tar.bz2) = d38fe5d918c335089a027600a93d950f417a7e98
@@ -12,3 +12,5 @@
SHA1 (patch-an) = d0578fa2d00932d6b5d97dfff525f4c0f9586bd5
SHA1 (patch-ap) = 5eb0e0e4244a993da93e36f8fcb5553454207fce
SHA1 (patch-aq) = 0c9d48547da2fa80aa8357d23ad8505d1c0330df
+SHA1 (patch-ar) = 2d74ec926cc00bfbb67d16210af78c33ad9ac38d
+SHA1 (patch-as) = 7612bf91fe04d980a41dbb0ea652fd50d3b5cebb
diff -r d9cc915b6646 -r d8e26e9944a7 lang/php5/patches/patch-as
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/php5/patches/patch-as Thu Feb 26 13:43:59 2009 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-as,v 1.3.20.1 2009/02/26 13:43:59 tron Exp $
+
+Fix memory leak and pullup bug fix for http://bugs.php.net/bug.php?id=46918
+
+Remove this patch when PHP >= 5.2.9 is released as it will contain these
+changes
+
+--- ext/imap/php_imap.c.orig 2009-02-24 17:45:27.000000000 +0000
++++ ext/imap/php_imap.c 2009-02-24 17:47:14.000000000 +0000
+@@ -2172,7 +2172,7 @@
+
+ /* rfc822_parse_adrlist() modifies passed string. Copy it. */
+ str_copy = estrndup(Z_STRVAL_PP(str), Z_STRLEN_PP(str));
+- rfc822_parse_adrlist(&env->to, str_copy, defaulthost);
++ rfc822_parse_adrlist(&env->to, str_copy, Z_STRVAL_PP(defaulthost));
+ efree(str_copy);
+
+ array_init(return_value);
+@@ -2196,6 +2196,8 @@
+ }
+ add_next_index_object(return_value, tovals TSRMLS_CC);
+ } while ((addresstmp = addresstmp->next));
++
++ mail_free_envelope(&env);
+ }
+ /* }}} */
+
Home |
Main Index |
Thread Index |
Old Index