From: Antony Dovgal Date: Wed, 1 Feb 2006 10:31:26 +0000 (+0000) Subject: fix #36242 (Possible memory corruption in stream_select()) X-Git-Tag: RELEASE_1_2~323 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=841642648845a5ce3fec288152cf5d383bc331c5;p=php fix #36242 (Possible memory corruption in stream_select()) --- diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index d8b35f3834..dbbef29632 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -761,7 +761,7 @@ PHP_FUNCTION(stream_select) /* If seconds is not set to null, build the timeval, else we wait indefinitely */ if (sec != NULL) { - convert_to_long_ex(&sec); + convert_to_long(sec); /* Solaris + BSD do not like microsecond values which are >= 1 sec */ if (usec > 999999) {