summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2009-02-26 13:43:59 +0000
committertron <tron>2009-02-26 13:43:59 +0000
commit30cad73cbb71eb9e2424ecd4627dec4fbb0adb30 (patch)
tree40613559afd4287d1d5eb739dc7ee2eb4311ab92
parent388ea6c90d1706f77361c4447f062a3077a7549b (diff)
downloadpkgsrc-30cad73cbb71eb9e2424ecd4627dec4fbb0adb30.tar.gz
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
-rw-r--r--lang/php5/distinfo4
-rw-r--r--lang/php5/patches/patch-as27
2 files changed, 30 insertions, 1 deletions
diff --git a/lang/php5/distinfo b/lang/php5/distinfo
index 4f5a555f78d..d7d95695e1e 100644
--- a/lang/php5/distinfo
+++ b/lang/php5/distinfo
@@ -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-al) = 0ee37782cc0d3bf5ede1a583de0589c2c1316b50
SHA1 (patch-an) = d0578fa2d00932d6b5d97dfff525f4c0f9586bd5
SHA1 (patch-ap) = 5eb0e0e4244a993da93e36f8fcb5553454207fce
SHA1 (patch-aq) = 0c9d48547da2fa80aa8357d23ad8505d1c0330df
+SHA1 (patch-ar) = 2d74ec926cc00bfbb67d16210af78c33ad9ac38d
+SHA1 (patch-as) = 7612bf91fe04d980a41dbb0ea652fd50d3b5cebb
diff --git a/lang/php5/patches/patch-as b/lang/php5/patches/patch-as
new file mode 100644
index 00000000000..aa8ec604cca
--- /dev/null
+++ b/lang/php5/patches/patch-as
@@ -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);
+ }
+ /* }}} */
+