Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: bug in dbStaticLib
From: wright@luke.atdiv.lanl.gov (Rozelle Wright)
To: tech-talk@aps.anl.gov
Date: Wed, 5 Jun 96 11:34:20 MDT
Hi everyone,
Marty fixed a bug for me in base/src/dbStatic/dbStaticRun.c and
dbStaticNoRun.c where DBF_FWDLINK is processed.  If anyone else
is having problems with the static library producing core dumps
and can't wait for the next release, here is the fix.
Rozelle



----- Begin Included Message -----


Thanks for finding bug. The code should be.

            if(!plink) return(FALSE);
            if(plink->type!=CONSTANT) return(FALSE);
            if(plink->value.constantStr == 0) return(TRUE);
            if(!pflddes->initial) return(FALSE);
            if(strcmp(plink->value.constantStr,pflddes->initial)==0)
                return(TRUE);
            return(FALSE);


Note that bug is in both dbStaticRun and dbStaticNorun.
I looked and I did test for !pflddes->initial everywhere else I looked.
Will be fixed in next release.


Marty


Navigate by Date:
Prev: Developments regarding PC hardward and software platforms Bob Dalesio
Next: Software Engineering Position SIBLEY
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: dm colour rules with -ve values David Terrett
Next: Software Engineering Position SIBLEY
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·