potential memory error caused by unsuitable zmq_msg_* functions
Open
- Dominant language
- C++
- Stars
- 1.6k
- Forks
- 540
- PR merge metrics
- No merged PRs in 30d
Description
zmq_van.h, RecvMsg function;
190 } else if (i == 1) {
191 // task
192 UnpackMeta(buf, size, &(msg->meta));
193 zmq_msg_close(zmsg);
194 bool more = zmq_msg_more(zmsg);
195 delete zmsg;
196 if (!more) break;
197 } else {
Seems we should call line 194 first and then call line 193.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.