Fixed off-by-one error in dbFindField().
This commit is contained in:
@@ -9,8 +9,15 @@
|
||||
<body lang="en">
|
||||
<h1 align="center">EPICS Base Release 3.14.x</h1>
|
||||
|
||||
<h4>dbStaticLib</h4>
|
||||
|
||||
<p>Off-by-one buffer overflow error fixed in dbFindField() which only seemed to
|
||||
affect vxWorks-(intel) targets.</p>
|
||||
|
||||
<h4>RTEMS</h4>
|
||||
<p>Added space for user extensions. This provides the infrastructure for the spy command.</p>
|
||||
|
||||
<p>Added space for user extensions. This provides the infrastructure for the
|
||||
spy command.</p>
|
||||
|
||||
<h4>libCom</h4>
|
||||
|
||||
|
||||
@@ -1753,7 +1753,7 @@ long epicsShareAPI dbFindField(DBENTRY *pdbentry,const char *pname)
|
||||
char **papsortFldName;
|
||||
short *sortFldInd;
|
||||
int compare,ind;
|
||||
char fieldName[MAX_FIELD_NAME_LENGTH];
|
||||
char fieldName[MAX_FIELD_NAME_LENGTH+1];
|
||||
char *pfieldName;
|
||||
|
||||
if(!precordType) return(S_dbLib_recordTypeNotFound);
|
||||
|
||||
Reference in New Issue
Block a user