rpms/mysql/devel mysql-stack.patch,1.2,1.3 mysql.spec,1.99,1.100

Tom Lane (tgl) fedora-extras-commits at redhat.com
Tue Jan 8 04:47:21 UTC 2008


Author: tgl

Update of /cvs/pkgs/rpms/mysql/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13325

Modified Files:
	mysql-stack.patch mysql.spec 
Log Message:
Seems we need to raise STACK_MIN_SIZE again too.

mysql-stack.patch:

Index: mysql-stack.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql-stack.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mysql-stack.patch	22 Jul 2007 20:35:24 -0000	1.2
+++ mysql-stack.patch	8 Jan 2008 04:47:12 -0000	1.3
@@ -2,6 +2,7 @@
 and probably not on some other platforms either.  Knock it up to twice the
 pre-5.0.33 value to have some margin for future changes in compiler, glibc,
 etc.  Suspect this number if "execution_constants" regression test fails.
+As of 5.0.45 and F9, it seems 16384 isn't enough either.
 
 
 diff -Naur mysql-5.0.38.orig/sql/mysql_priv.h mysql-5.0.38/sql/mysql_priv.h
@@ -12,7 +13,7 @@
   "execution_constants" test to pass.
   */
 -#define STACK_MIN_SIZE          12000   // Abort if less stack during eval.
-+#define STACK_MIN_SIZE          16384   // Abort if less stack during eval.
++#define STACK_MIN_SIZE          32768   // Abort if less stack during eval.
  
  #define STACK_MIN_SIZE_FOR_OPEN 1024*80
  #define STACK_BUFF_ALLOC	256	// For stack overrun checks


Index: mysql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql.spec,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- mysql.spec	8 Jan 2008 04:24:19 -0000	1.99
+++ mysql.spec	8 Jan 2008 04:47:12 -0000	1.100
@@ -485,6 +485,7 @@
 * Mon Jan  7 2008 Tom Lane <tgl at redhat.com> 5.0.45-7
 - Unbelievable ... upstream still thinks that it's a good idea to have a
   regression test that is guaranteed to begin failing come January 1.
+- ... and it seems we need to raise STACK_MIN_SIZE again too.
 
 * Thu Dec 13 2007 Tom Lane <tgl at redhat.com> 5.0.45-6
 - Back-port upstream fixes for CVE-2007-5925, CVE-2007-5969, CVE-2007-6303.




More information about the fedora-extras-commits mailing list