---

** [tickets:#2242] smf: builds on ubuntu 16.04 cause segmentation fault**

**Status:** assigned
**Milestone:** 5.2.FC
**Created:** Thu Dec 22, 2016 12:49 PM UTC by Rafael
**Last Updated:** Thu Dec 22, 2016 12:49 PM UTC
**Owner:** Rafael


The following message in core dump

438 Program terminated with signal SIGSEGV, Segmentation fault.
439 #0  __memcmp_sse2 () at ../sysdeps/x86_64/multiarch/../memcmp.S:276

called from function: SmfUpgradeProcedure::addStepModificationsNode

on this usage:

... = i_newStep->getActivationUnitList().front().name;

When the list is empty on ubuntu 16 builds it will case a segfault. Solution is 
to check size before assignment. 


---

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.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to