summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2005-05-06 09:46:49 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2005-05-06 09:46:49 +0000
commit213d92a24af7e4c11b6b4d2c3973353e10a1fcc2 (patch)
tree7db66c2e507bdf5c2157f418c13bcd3650767eaf /dev-php/mod_php/files
parentManual Manifest commit. (diff)
downloadhistorical-213d92a24af7e4c11b6b4d2c3973353e10a1fcc2.tar.gz
historical-213d92a24af7e4c11b6b4d2c3973353e10a1fcc2.tar.bz2
historical-213d92a24af7e4c11b6b4d2c3973353e10a1fcc2.zip
Fix bug #88756.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'dev-php/mod_php/files')
-rw-r--r--dev-php/mod_php/files/php-4.3.11-flash.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-php/mod_php/files/php-4.3.11-flash.patch b/dev-php/mod_php/files/php-4.3.11-flash.patch
new file mode 100644
index 000000000000..9cda1b40ce9c
--- /dev/null
+++ b/dev-php/mod_php/files/php-4.3.11-flash.patch
@@ -0,0 +1,25 @@
+--- ext/swf/swf.c.orig 2005-04-01 14:27:16.419352696 -0500
++++ ext/swf/swf.c 2005-04-01 14:25:41.775740712 -0500
+@@ -240,7 +240,10 @@ PHP_FUNCTION(swf_openfile)
+ na = tmpna;
+ #endif
+ if (php_check_open_basedir(na TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(na, "wb+", CHECKUID_CHECK_MODE_PARAM))) {
+- goto err;
++#ifdef VIRTUAL_DIR
++ free(na);
++#endif
++ return;
+ }
+
+ if (!SWFG(use_file))
+@@ -249,10 +252,6 @@ PHP_FUNCTION(swf_openfile)
+ swf_openfile(na,(float)Z_DVAL_PP(sizeX), (float)Z_DVAL_PP(sizeY),
+ (float)Z_DVAL_PP(frameRate), (float)Z_DVAL_PP(r),
+ (float)Z_DVAL_PP(g), (float)Z_DVAL_PP(b));
+-err:
+-#ifdef VIRTUAL_DIR
+- free(na);
+-#endif
+ }
+ /* }}} */
+