From 03104dd373485d8a2dc976fde9f774908acb8928 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 19 Dec 1995 19:28:11 +0000 Subject: [PATCH] Dont check the array element count when they add the event (just clip it) --- src/ca/access.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/ca/access.c b/src/ca/access.c index ae3220ec4..a9fd148c6 100644 --- a/src/ca/access.c +++ b/src/ca/access.c @@ -99,6 +99,9 @@ /************************************************************************/ /* * $Log$ + * Revision 1.80 1995/10/18 16:49:23 jhill + * recv task is now running at a lower priority than the send task under vxWorks + * * Revision 1.79 1995/10/12 01:30:10 jhill * new ca_flush_io() mechanism prevents deadlock when they call * ca_flush_io() from within an event routine. Also forces early @@ -2094,14 +2097,18 @@ long mask /* * Check for huge waveform + * + * (the count is not checked here against the native count + * when connected because this introduces a race condition + * for the client tool - the requested count is clipped to + * the actual count when the monitor request is sent so + * verifying that the requested count is valid here isnt + * required) */ if(dbr_size_n(type,count)>MAX_MSG_SIZE-sizeof(caHdr)){ return ECA_TOLARGE; } - if(count > chix->count && chix->type != TYPENOTCONN) - return ECA_BADCOUNT; - if(!mask) return ECA_BADMASK;