- **status**: assigned --> review


---

** [tickets:#1277] IMM: Incorrect computation of string length in server code**

**Status:** review
**Milestone:** 4.6.RC1
**Created:** Mon Mar 23, 2015 11:14 AM UTC by Hung Nguyen
**Last Updated:** Mon Mar 23, 2015 11:14 AM UTC
**Owner:** Hung Nguyen

When SaNameT value from user is not null terminated, problem like this will 
occur:

Mar 17 14:29:24 SC-2 osafimmnd[10543]: NO ERR_INVALID_PARAM: Not a proper 
parent name:CmwSwIMswInventoryId=1Ø size:23
Mar 17 14:29:24 SC-2 ecimswm: 
ImmCreateOperation::execute:saImmOmCcbObjectCreate_2 failed 7
Mar 17 14:29:24 SC-2 ecimswm: ImmUtils::doImmOperations:execute failed 
SaAisErrorT=7
Mar 17 14:29:24 SC-2 ecimswm: Failed to create swVersion rc 7 
(SA_AIS_ERR_INVALID_PARAM) 

The character 'Ø' shouldn't be there.
The root cause is the IMMSV_OCTET_STRING sent to IMM server was not null 
terminated by the agent.

Null termination must be ensured for strings sent to IMM server.

The problem was introduced in changeset:6333 for [#643]


---

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.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to