Noburo,
>
> Eventually we found a cause of phenomena. One of reasons of this trouble
> is a record with NULL string as its name. All three of IOCs were loaded
> a NULL named EPICS record. These records did not cause any problem,
> until I run a CA client program which search for a NULL named record!
>
> dbLoadRecords commands in EPICS R3.13.1 accepts a NULL named record
> without a error message.
> CA library on WS also accepts NULL string as a record name.
There appears to be code in the CA client library which
checks the length of the channel name string. This code is from
R3.13.2 and it is possible that R3.13.1 is different.
/* Put some reasonable limit on user supplied string size */
strcnt = strlen(name_str) + 1;
if (strcnt > MAX_UDP-sizeof(caHdr))
return ECA_STRTOBIG;
if (strcnt == 1)
return ECA_EMPTYSTR;
There is not at this time any code in the client library that verifies
that the channel name string pointer isn't NULL, but I have added this check
to EPICS R3.14.
Jeff
- References:
- NULL record Name on IOC Noboru Yamamoto
- Navigate by Date:
- Prev:
Re: VxWorks global variable support extension proposal Andrew Johnson
- Next:
Monitors for the STAT field Benjamin Franksen
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
NULL record Name on IOC Noboru Yamamoto
- Next:
Is there a "PerlCa" out there? Carl Lionberger
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|