Comment 1 for bug 541319

Revision history for this message
Jeff Hill (johill-lanl) wrote :

I committed this patch

cvs diff -r 1.11.2.4 -r 1.11.2.5 -u -wb -i -- convert.cpp convert.cpp
Index: convert.cpp
===================================================================
RCS file: /net/phoebus/epicsmgr/cvsroot/epics/base/src/ca/convert.cpp,v
retrieving revision 1.11.2.4
retrieving revision 1.11.2.5
diff -c -b -u -w -b -i -r1.11.2.4 -r1.11.2.5
cvs diff: conflicting specifications of output style
--- convert.cpp 18 Nov 2006 00:39:50 -0000 1.11.2.4
+++ convert.cpp 29 Mar 2007 16:31:38 -0000 1.11.2.5
@@ -1431,7 +1431,7 @@
             return ECA_BADTYPE;
         }
         if ( pSrc != pDest ) {
- memcpy ( pDest, pSrc, count );
+ memcpy ( pDest, pSrc, dbr_size_n ( type, count ) );
         }
 # endif
     return ECA_NORMAL;