- **status**: accepted --> review
- **Comment**:

https://sourceforge.net/p/opensaf/mailman/message/32962560/



---

** [tickets:#1189] imm: admin operation returns ERR_NAME_TOO_LONG for a valid 
extended name in return parameters**

**Status:** review
**Milestone:** 4.5.1
**Created:** Thu Oct 23, 2014 12:47 PM UTC by Zoran Milinkovic
**Last Updated:** Thu Oct 23, 2014 12:47 PM UTC
**Owner:** Zoran Milinkovic

If return parameters, from successful admin operation call, contain a valid 
extended name, then operation return error is set to SA_AIS_ERR_NAME_TO_LONG.

    if((*returnParams)[i]->paramType == SA_IMM_ATTR_SANAMET
                && osaf_is_extended_name_valid((SaNameT 
*)(*returnParams)[i]->paramBuffer)) {
        if(*operationReturnValue == SA_AIS_OK) {
                *operationReturnValue = SA_AIS_ERR_NAME_TOO_LONG;
        }
        osaf_extended_name_free((SaNameT *)(*returnParams)[i]->paramBuffer);
        osaf_extended_name_clear((SaNameT *)(*returnParams)[i]->paramBuffer);
    }


---

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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to