Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
a5253237
Unverified
Commit
a5253237
authored
Apr 20, 2020
by
Luca Boccassi
Committed by
GitHub
Apr 20, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3878 from Eelis/master
Problem: out-of-bounds array access in socket_poller::check_events.
parents
f00f4645
063f14a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
socket_poller.cpp
src/socket_poller.cpp
+2
-2
No files found.
src/socket_poller.cpp
View file @
a5253237
...
...
@@ -443,9 +443,9 @@ int zmq::socket_poller_t::check_events (zmq::socket_poller_t::event_t *events_,
}
// Else, the poll item is a raw file descriptor, simply convert
// the events to zmq_pollitem_t-style format.
else
{
else
if
(
it
->
events
)
{
#if defined ZMQ_POLL_BASED_ON_POLL
zmq_assert
(
it
->
pollfd_index
>=
0
);
const
short
revents
=
_pollfds
[
it
->
pollfd_index
].
revents
;
short
events
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment