Data Base Request Option DBR_ENUM_STRS for the DTYP field ofsoft records can cause an IOC to crash.
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
<h1 align="center">EPICS Base Release 3.14.6<br>
|
||||
28 May 2004</h1>
|
||||
|
||||
<h2 align="center">Changes since 3.14.6</h2>
|
||||
<h4>dbAccess DBR_ENUM_STRS for field DTYP</h4>
|
||||
<p>Data Base Request Option DBR_ENUM_STRS for the DTYP field of
|
||||
soft records can cause an IOC to crash.</p?
|
||||
<h2 align="center">Changes since 3.14.5</h2>
|
||||
|
||||
<h4>CA command line tools complete</h4>
|
||||
|
||||
@@ -147,6 +147,10 @@ static void get_enum_strs(DBADDR *paddr,void **ppbuffer,
|
||||
goto choice_common;
|
||||
case DBF_DEVICE:
|
||||
pdbDeviceMenu = (dbDeviceMenu *)pdbFldDes->ftPvt;
|
||||
if(!pdbDeviceMenu) {
|
||||
*options = (*options)^DBR_ENUM_STRS;/*Turn off option*/
|
||||
break;
|
||||
}
|
||||
no_str = pdbDeviceMenu->nChoice;
|
||||
papChoice = pdbDeviceMenu->papChoice;
|
||||
goto choice_common;
|
||||
|
||||
Reference in New Issue
Block a user