- **status**: review --> fixed
- **Comment**:
changeset: 5451:4bbd25649ce9
tag: tip
parent: 5448:388e290fc122
user: [email protected]
date: Mon Jun 30 16:19:46 2014 +0530
summary: amfd : standby AMFD should process ccb completed cbk for delete
[#947]
changeset: 5450:e26b505501ad
branch: opensaf-4.4.x
parent: 5447:6b3fef573fe7
user: [email protected]
date: Mon Jun 30 16:19:03 2014 +0530
summary: amfd : standby AMFD should process ccb completed cbk for delete
[#947]
changeset: 5449:fbd78722aaaf
branch: opensaf-4.3.x
parent: 5446:7ba3b6f573a1
user: [email protected]
date: Mon Jun 30 16:15:39 2014 +0530
summary: amfd : standby AMFD should process ccb completed cbk for delete
[#947]
[staging:fbd787]
[staging:e26b50]
[staging:4bbd25]
---
** [tickets:#947] AMF: Segmentation violation in *__ccb_apply_cb at
CCBUTIL_DELETE**
**Status:** fixed
**Milestone:** 4.3.3
**Created:** Fri Jun 27, 2014 01:17 PM UTC by hano
**Last Updated:** Mon Jun 30, 2014 05:12 AM UTC
**Owner:** Praveen
Segmentation violations are encountered in sutcomptype_ccb_apply_cb et al.
At:
case CCBUTIL_DELETE:
comp_type = comptype_db->find(Amf::to_string(&opdata->objectName));
if (NULL != comp_type->list_of_comp) {
if not found, comp_type is 0 which is not checked. opdata->userData is set
to comp_type, now 0. This results in segmentation violation later in
sutcomptype_ccb_apply_cb.
To correct this:
case CCBUTIL_DELETE:
sutcomptype = sutcomptype_db->find(Amf::to_string(&opdata->objectName));
if (sutcomptype == 0)
goto done;
why the object is not found should be investigated, are there problems with
std::string vs. SaNameT, i.e garbage etc. in SaNameT? /Hans
---
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.------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets