epics-base / pvaClientCPP

pvaClientCPP is an EPICS V4 C++ module
http://epics-pvdata.sourceforge.net/index.html
Other
2 stars 8 forks source link

PvaClientChannel::setStateChangeRequester fails if issueConnect not called. #41

Closed mrkraimer closed 5 years ago

mrkraimer commented 7 years ago

This problem was found by Sinisa Veseli (ANL/APS).

A segmentation fault occurs if setStateChangeRequester is called after a PvaClientChannel is created but before connect or issueConnect is called.

This is a bug in PvaClientChannel.

The bug exists in both pvaClientCPP and pvaClientJava.

I will fix both pvaClientCPP and pvaClientJava and then create a pull request for each.

mrkraimer commented 5 years ago

This was fixed pull request #40 but I forgot to close issue