epics-base / p4p

Python bindings for the PVAccess network client and server.
BSD 3-Clause "New" or "Revised" License
24 stars 37 forks source link

Update pvxs_gw.cpp to properly block RPC call #108

Closed drm-slac closed 1 year ago

drm-slac commented 1 year ago

The universal reference to unique_ptr "op" was moved to "sop", but op was still used as a pointer, causing segfault. A call to op->error was changed to sop->error to fix the problem.

mdavidsaver commented 1 year ago

Thanks for this fix!

mdavidsaver commented 1 year ago

Fixed in p4p==4.1.7.