Data Base Request Option DBR_ENUM_STRS for the DTYP field ofsoft records can cause an IOC to crash.

This commit is contained in:
Marty Kraimer
2004-06-07 12:11:20 +00:00
parent 7c5e384d08
commit 55ac37cfac
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -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>
+4
View File
@@ -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;