Hello,
I think new dbStaticLib.c (in R3.13.0alpha3) has problem about
dealing parm string. It's a serious problem in GPIB devices.
putParamString() in dbStatic/dbStaticLib.c shuld look '@' up.
Following code is unofficial patch.
from monaka
--------------------------------------------------------------
static long putParmString(char **pparm,char *pstring)
{
size_t size;
char *pstr, *end;
if(!(end = strchr(pstring,'@'))) return (S_dbLib_badField);
pstr = end + 1;
size = strlen(pstr) + 1;
if(size>=MAX_STRING_SIZE) return(S_dbLib_badLink);
if(*pparm && (*pparm != pNullString)) free((void *)(*pparm));
*pparm = dbCalloc(size, sizeof(char *));
strcpy(*pparm,pstr);
return(0);
}
- Replies:
- Re: bug(?) in dbStaticLib.c Marty Kraimer
- References:
- Re: R3.13.0.alpha3 is available Bakul Banerjee
- Navigate by Date:
- Prev:
Re: Modicon PLC under EPICS Patricia Rose
- Next:
install EPICS on HP faild (sockio.h) Gabor Csuka
- 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:
Re: R3.13.0.alpha3 is available Bakul Banerjee
- Next:
Re: bug(?) in dbStaticLib.c Marty Kraimer
- 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
|