1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00

fix #36242 (Possible memory corruption in stream_select())

This commit is contained in:
Antony Dovgal
2006-02-01 10:31:26 +00:00
parent d7393d2d02
commit 8416426488

View File

@@ -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) {