- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -1,4 +1,3 @@
-
 If we test upper & lower limits of `SaTimeT timeout`  arguments to CPSV API  , 
some of CPA API`s are doesn't returns
  
 Current cpa code-doesn't   validating/passing  `SaTimeT timeout`  arguments to 
CPSV API  , which are  below  default API timeout limit  of  CPSV_WAIT_TIME 
(1400 * 10ms)  and above  `SaTimeT`,  type long long int Maximum value  
9223372036854775807 (2^63-1)

~~~~

- **status**: assigned --> accepted



---

** [tickets:#1583] cpsv :  saCkptCheckpointOpen open doesn't return if timeout 
value is below the default CPSV_WAIT_TIME**

**Status:** accepted
**Milestone:** 4.6.2
**Created:** Wed Nov 04, 2015 04:40 AM UTC by A V Mahesh (AVM)
**Last Updated:** Wed Nov 04, 2015 04:40 AM UTC
**Owner:** A V Mahesh (AVM)


If we test upper & lower limits of `SaTimeT timeout`  arguments to CPSV API  , 
some of CPA API`s are doesn't returns
 
Current cpa code-doesn't   validating/passing  `SaTimeT timeout`  arguments to 
CPSV API  , which are  below  default API timeout limit  of  CPSV_WAIT_TIME 
(1400 * 10ms)  and above  `SaTimeT`,  type long long int Maximum value  
9223372036854775807 (2^63-1)

For example :

      i)     const SaTimeT timeout = 1215752192;    
      ii)     const SaTimeT timeout = 2 * SA_TIME_ONE_MINUTE;
      iii)     const SaTimeT timeout = 9223372036854775809;

        saCkptCheckpointOpen(....,   timeout, ...);

Because of that in some of variables are over flowing and , API   calls are not 
working properly


Solution  :

1 - need to validate   if (time_out < CPSV_WAIT_TIME)   return   
SA_AIS_ERR_INVALID_PARAM

2-  need to validate if (expirationTime < 0 )  return   SA_AIS_ERR_INVALID_PARAM

3-  Pass proper timeout values to   internal functions of Opensaf 


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to