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
063f14a9
Commit
063f14a9
authored
Apr 20, 2020
by
Eelis van der Weegen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: out-of-bounds array access in socket_poller::check_events.
parent
d882e807
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 @
063f14a9
...
...
@@ -455,9 +455,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