diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-06 22:55:57 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-06 22:55:57 +0000 |
commit | 9c40a9545ab48ab6a1227ab815a8ef51c3858fee (patch) | |
tree | b02da4f92dc8be9273690b094ef070609ced6ff1 /win32 | |
parent | e6bf368cac2012a95f191838f356d381387324ee (diff) | |
download | ruby-9c40a9545ab48ab6a1227ab815a8ef51c3858fee.tar.gz |
Revert "thread.c (rb_wait_for_single_fd): no point initializing pollfd.revents"
It may cause an access to uninitialized variables.
The call to ppoll will set the `revents` field, but ppoll is not always
called because it is in the guard `!RUBY_VM_INTERRUPTED(th->ec)`.
This issue was found by Coverity Scan.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions