---
** [tickets:#1993] amf: amfnd crashes during su lock if CSI attribute name or
value is a long dn.**
**Status:** unassigned
**Milestone:** future
**Created:** Thu Sep 01, 2016 11:09 AM UTC by Praveen
**Last Updated:** Thu Sep 01, 2016 11:09 AM UTC
**Owner:** nobody
**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