[Openais] Re: Patch for publish event data size bug (768)
Steven Dake
sdake at mvista.com
Mon Jul 25 10:30:42 PDT 2005
looks good mark go ahead and apply
regards
-steve
On Mon, 2005-07-25 at 09:57 -0700, Mark Haverkamp wrote:
> According to the spec, I think that the return code should be
> SA_AIS_ERR_TOO_BIG for a data size too large. See page 50 around line
> 18.
>
> Mark.
>
> Index: evt.c
> ===================================================================
> --- evt.c (revision 771)
> +++ evt.c (working copy)
> @@ -1790,7 +1790,7 @@
> }
>
> if (eventDataSize > SA_EVT_DATA_MAX_LEN) {
> - error = SA_AIS_ERR_INVALID_PARAM;
> + error = SA_AIS_ERR_TOO_BIG;
> goto pub_done;
> }
>
>
More information about the Openais
mailing list