@@ -0,0 +1,24 @@
+Index: ext/suhosin/execute.c
+===================================================================
+--- ext/suhosin/execute.c.orig 2009-08-15 10:59:55.000000000 -0400
++++ ext/suhosin/execute.c 2009-08-23 16:57:40.000000000 -0400
+@@ -1446,7 +1446,8 @@ static int ih_mt_rand(IH_HANDLER_PARAMS)
+ RAND_RANGE(number, min, max, PHP_MT_RAND_MAX);
+ }
+
+- RETURN_LONG(number);
++ RETVAL_LONG(number);
++ return (0);
+ }
+
+ static int ih_rand(IH_HANDLER_PARAMS)
+@@ -1469,7 +1470,8 @@ static int ih_rand(IH_HANDLER_PARAMS)
+ RAND_RANGE(number, min, max, PHP_MT_RAND_MAX);
+ }
+
+- RETURN_LONG(number);
++ RETVAL_LONG(number);
++ return(0);
+ }
+
+ static int ih_getrandmax(IH_HANDLER_PARAMS)
|