summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-02-01 10:31:57 +0000
committerAntony Dovgal <tony2001@php.net>2006-02-01 10:31:57 +0000
commitb90d985a23a5c3994ba8ad798b077c89f61d2954 (patch)
treefd25380281bb780e419eaa2c4265c3c6d16cd190 /ext
parent823b39b69829419559ad57029df8e33a7f96ab39 (diff)
downloadphp-git-b90d985a23a5c3994ba8ad798b077c89f61d2954.tar.gz
MFH: fix #36242 (Possible memory corruption in stream_select())
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/streamsfuncs.c2
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) {