- **status**: review --> fixed
- **Comment**:

changeset:   8123:04cf8e676ec3
branch:      opensaf-5.1.x
parent:      8120:a49f89f85492
user:        praveen.malv...@oracle.com
date:        Thu Sep 22 16:41:14 2016 +0530
summary:     amf: handle csi attributes using long dn APIs in assignment 
messages [#1993]

changeset:   8124:bbc4c8535525
tag:         tip
parent:      8122:beab6f203081
user:        praveen.malv...@oracle.com
date:        Thu Sep 22 16:45:00 2016 +0530
summary:     amf: handle csi attributes using long dn APIs in assignment 
messages [#1993]




---

** [tickets:#1993] amf: amfnd crashes during su lock if CSI attribute name or 
value is a long dn.**

**Status:** fixed
**Milestone:** 5.1.0
**Created:** Thu Sep 01, 2016 11:09 AM UTC by Praveen
**Last Updated:** Tue Sep 20, 2016 05:35 PM UTC
**Owner:** Praveen
**Attachments:**

- 
[amfnd_crash.tgz](https://sourceforge.net/p/opensaf/tickets/1993/attachment/amfnd_crash.tgz)
 (69.4 kB; application/x-compressed)


Configuration:
In the long dn amf demo, add csi attribute for the CSI keeping attribute value 
a longdn.
1)Bring the configuration up.
2)Lock the SU.
3)AMFND crashes.

AMFND uses memcpy() and thus works with orignal csi attribute values from 
csi_rec.
It frees the memory in avsv_amf_cbk_free() when CSI_SET callback arrives. 
During SU lock, it agian tries to free the memory while deleting the record.
At AMFND and AMFD, all SaNameT handling should be done using 
osaf_extended_name_alloc() API.

Issue will be applicable in case of messages related to CSI Attribute change 
callback also.







---

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