Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
>
php-5.3.5
> suhosin-0.9.29-retval.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File suhosin-0.9.29-retval.patch of Package php-5.3.5 (Revision 1)
Currently displaying revision
1
,
show latest
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)