diff options
author | Antony Dovgal <tony2001@php.net> | 2006-02-01 10:31:57 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-02-01 10:31:57 +0000 |
commit | b90d985a23a5c3994ba8ad798b077c89f61d2954 (patch) | |
tree | fd25380281bb780e419eaa2c4265c3c6d16cd190 /ext | |
parent | 823b39b69829419559ad57029df8e33a7f96ab39 (diff) | |
download | php-git-b90d985a23a5c3994ba8ad798b077c89f61d2954.tar.gz |
MFH: fix #36242 (Possible memory corruption in stream_select())
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/streamsfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 51376e3bdc..72153cb392 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -750,7 +750,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) { |