- **status**: review --> fixed
- **Comment**:

commit 3ace4a29e982bbfa1f81adbacc22702d6fb990ab (HEAD -> develop, 
origin/develop, ticket-2947)
Author: Vu Minh Nguyen <[email protected]>
Date:   Tue Oct 30 16:15:17 2018 +0700

    imm: fix osafimmnd coredump genereted during sanity test [#2947]

    The coredump is generated in the context of processing the message type
    "IMMND_EVT_D2ND_IMPLDELETE" because the memory is corrupted at the time
    of decoding that message.

    It allocated 'size' bytes of memory with the boundary in range [0 - 'size - 
1'],
    but modified - added null terminated, the memory at the index of `size` 
which
    was out of that range.

    This patch fixes such issue. The memory should be allocated with `size + 1`
    bytes in length.




---

** [tickets:#2947] imm: osafimmnd coredump is generated during sanity test**

**Status:** fixed
**Milestone:** 5.18.12
**Created:** Mon Oct 29, 2018 08:17 AM UTC by Vu Minh Nguyen
**Last Updated:** Mon Oct 29, 2018 09:23 AM UTC
**Owner:** Vu Minh Nguyen
**Attachments:**

- 
[osafimmnd.3747.vmgcf-17-PL-10.core](https://sourceforge.net/p/opensaf/tickets/2947/attachment/osafimmnd.3747.vmgcf-17-PL-10.core)
 (29.1 kB; application/octet-stream)


The coredump is generated in the context of processing the message type 
"IMMND_EVT_D2ND_IMPLDELETE".  The backtrace is attached.



---

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.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to