develop:

commit 5302e11d528a33cce150a1583b829452b96b440d
Author: Nguyen Luu <[email protected]>
Date:   Tue Aug 15 16:06:49 2017 +1000

    amfa: Fix saAmfPmStart_3 and saAmfResponse_4 to correctly return BAD_HANDLE 
[#2539]
    
    When called with an uninitialized or already finalized handle,
    saAmfPmStart_3 and saAmfResponse_4 should return SA_AIS_ERR_BAD_HANDLE
    instead of SA_AIS_ERR_VERSION as previously done.

release:

commit 023e169f6e54adcf81147af4c3b0e2a3799948fb
Author: Nguyen Luu <[email protected]>
Date:   Tue Aug 15 16:06:49 2017 +1000

    amfa: Fix saAmfPmStart_3 and saAmfResponse_4 to correctly return BAD_HANDLE 
[#2539]
    
    When called with an uninitialized or already finalized handle,
    saAmfPmStart_3 and saAmfResponse_4 should return SA_AIS_ERR_BAD_HANDLE
    instead of SA_AIS_ERR_VERSION as previously done.



---

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

**Status:** review
**Milestone:** 5.17.07
**Created:** Tue Aug 01, 2017 10:28 AM UTC by Nguyen TK Luu
**Last Updated:** Fri Aug 11, 2017 08:20 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 uninitialized 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 [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.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to