dbcaStats() segfaults on disconnected CA links
Bug #1394212 reported by
Ralph Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
High
|
Ralph Lange |
Bug Description
Reported by Sangwon Yun <email address hidden>:
I faced a segmentation fault from the dbcaStats() function.
The error is happening when link is invalid as below:
record(calc, "$(CBS)
field(INPA, "$(CBS)
...
The error disappeared after adding a check for chid of link as:
if (pca && ca_state(pca->chid) == cs_conn) {
->
if (pca && pca->chid && ca_state(pca->chid) == cs_conn) {
Related branches
Changed in epics-base: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in revision 12607