mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
MFH: fix #36242 (Possible memory corruption in stream_select())
This commit is contained in:
parent
823b39b698
commit
b90d985a23
1
NEWS
1
NEWS
@ -18,6 +18,7 @@ PHP NEWS
|
||||
- Added imap_savebody(). (Mike)
|
||||
- Fixed imagecolorallocate() and imagecolorallocatelapha() to return FALSE
|
||||
on error. (Pierre)
|
||||
- Fixed bug #36242 (Possible memory corruption in stream_select()). (Tony)
|
||||
- Fixed bug #36235 (ocicolumnname returns false before a succesfull fetch).
|
||||
(Tony)
|
||||
- Fixed bug #36224 (date(DATE_ATOM) gives wrong results). (Derick, Hannes
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user