Unless anyone objects I propose to cherry-pick this commit onto the 3.14
branch. As Xiaoqiang says in the commit message this change has already
been implemented in the monitorResponse methods; this adds the same code
to the readResponse and readNotifyResponse methods, and while I don't
claim to understand the PCAS code in detail I can see that the same
change is likely to be needed there for the PCAS to support dynamic
arrays properly.
Thanks Xiaoqiang!
- Andrew
-------- Forwarded Message --------
Subject: bugfix of PCAS library
Date: Fri, 5 May 2017 13:21:50 +0200
From: Wang Xiaoqiang <[email protected]>
To: tech-talk <[email protected]>
Hi,
The problem was discovered using a PCASpy server application.
https://github.com/paulscherrerinstitute/pcaspy/issues/43
A short summary is that the pcas library calculate the wrong size if a
container type gdd is returned by a server application, in a read action
with zero requested count.
The proposed change has been verified to fix the issue.
https://github.com/xiaoqiangwang/epics-base/commit/f1367b28c6e620f2b4abb276812df854c47e3a48
Best
Xiaoqiang