epics-modules / ip

APS BCDA synApps module: ip
http://epics-modules.github.io/ip/
Other
3 stars 9 forks source link

BUG: Buffer overflow in Keithley2000 state machine #12

Closed ghost closed 6 years ago

ghost commented 6 years ago

The Keithley 2000 state machine has a buffer overflow problem.

The string “pvname” overflows into “close_format”, which occurred during the for loop within the “monitor_mode_change “ state if your PV names are over 40 characters, the limit of characters for the “string” type.

MarkRivers commented 6 years ago

Fixed via 8ebad6dcec34fca028b6aa2d311967697bb4dfde and 8ebad6dcec34fca028b6aa2d311967697bb4dfde.