[devel] [PATCH 0/1] Review Request for ntf: fix coredump while creating object having string value, SA_NOTIFY [#3232] V2

2020-11-11 Thread quang.xn.nghiem
Summary: ntf: fix coredump while creating object having string value, SA_NOTIFY [#3232] Review request for Ticket(s): 3232 Peer Reviewer(s): Minh, Thuan Pull request to: Thuan Affected branch(es): develop Development branch: ticket-3232 Base revision: 47d18c7783e29b97e63081062158d537aaf84464 Perso

[devel] [PATCH 1/1] ntf: fix coredump while creating object having string value, SA_NOTIFY [#3232]

2020-11-11 Thread quang.xn.nghiem
When create or modify an object having size of attribute value over 65535, this actual size will be truncated because dataSize of saNtfPtrValAllocate is SaUint16T (from 0 to 65535). Thus, after saNtfPtrValAllocate's invoked, the attribute value is assigned to the memory allocated with the actual si

Re: [devel] [PATCH 1/1] ntf: fix coredump while creating object having string value, SA_NOTIFY [#3232]

2020-11-11 Thread Thuan Tran
Hi Quang, ACK from me. Best Regards, ThuanTr -Original Message- From: Quang Xuan Nhat Nghiem Sent: Wednesday, November 11, 2020 3:50 PM To: Minh Hon Chau ; Thuan Tran Cc: opensaf-devel@lists.sourceforge.net; Quang Xuan Nhat Nghiem Subject: [PATCH 1/1] ntf: fix coredump while creati