---

** [tickets:#2539] amf: Incorrect return code from saAmfPmStart_3() and 
saAmfResponse_4() for invalid handle**

**Status:** assigned
**Milestone:** 5.17.10
**Created:** Tue Aug 01, 2017 10:28 AM UTC by Nguyen TK Luu
**Last Updated:** Tue Aug 01, 2017 10:28 AM UTC
**Owner:** Nguyen TK Luu


When saAmfPmStart_3() and saAmfResponse_4() are called with uninitialized or 
already-finalized handle, they return SA_AIS_ERR_VERSION instead of 
SA_AIS_ERR_BAD_HANDLE.

Reproduce:
* Case 1:
    Call saAmfPmStart_3() or saAmfResponse_4() with an unitialized handle 
(arbitrary value).
* Case 2:
    1. Call saAmfInitialize.
    2. Call saAmfFinalize with the handle obtained in 1)
    3. Call saAmfPmStart_3() or saAmfResponse_4() with the finalized handle.

Similar ticket [#248](http://sourceforge.net/p/opensaf/tickets/248/) was 
created for saAmfComponentErrorReport_4 () and saAmfComponentErrorClear_4().


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to