summaryrefslogtreecommitdiff
path: root/databases/php4-mssql/patches/patch-aa
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-07-14 08:03:16 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-07-14 08:03:16 +0000
commit238b84c52dc847ff7914aea8e2cc4fc57928bdbd (patch)
tree5bdf8eb3e86aaf5d717097f2bb114a116c33a80e /databases/php4-mssql/patches/patch-aa
parent788ad3fe6d9a3627a79e1edbfc538b0d52bea404 (diff)
downloadpkgsrc-238b84c52dc847ff7914aea8e2cc4fc57928bdbd.tar.gz
Update php4 to 4.3.8.
This is security fix release, fixing several important security issues. From the ChangeLog: * Fixed strip_tags() to correctly handle '\0' characters. * Improved stability during startup when memory_limit is used. * Replace alloca() with emalloc() for better stack protection. * Added missing safe_mode checks inside ftok and itpc. * Fixed bug #28963 Fixed address allocation routine in IMAP extension. * Fixed bug #28632 Prevent open_basedir bypass via MySQL's LOAD DATA LOCAL. Note: package update also includes extra patches from PHP CVS not present in stock PHP 4.3.8 release - compilation fix for mssql extension and Zend engine memory-use-after-free fix.
Diffstat (limited to 'databases/php4-mssql/patches/patch-aa')
-rw-r--r--databases/php4-mssql/patches/patch-aa29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/php4-mssql/patches/patch-aa b/databases/php4-mssql/patches/patch-aa
new file mode 100644
index 00000000000..1e667e2a970
--- /dev/null
+++ b/databases/php4-mssql/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1 2004/07/14 08:03:16 jdolecek Exp $
+
+===================================================================
+RCS file: /repository/php-src/ext/mssql/php_mssql.h,v
+retrieving revision 1.23.4.10
+retrieving revision 1.23.4.11
+diff -p --unified=3 -r1.23.4.10 -r1.23.4.11
+--- php_mssql.h 2004/04/20 23:37:26 1.23.4.10
++++ php_mssql.h 2004/06/04 01:02:21 1.23.4.11
+@@ -17,7 +17,7 @@
+ */
+
+
+-/* $Id: patch-aa,v 1.1 2004/07/14 08:03:16 jdolecek Exp $ */
++/* $Id: patch-aa,v 1.1 2004/07/14 08:03:16 jdolecek Exp $ */
+
+ #ifndef PHP_MSSQL_H
+ #define PHP_MSSQL_H
+@@ -37,9 +37,7 @@
+ #include "sqldb.h"
+
+ #if HAVE_FREETDS
+-#ifndef SHORT
+-typedef short SHORT;
+-#endif
++typedef short TDS_SHORT;
+ #define SQLTEXT SYBTEXT
+ #define SQLCHAR SYBCHAR
+ #define SQLVARCHAR SYBVARCHAR