Menu

#2947 imm: osafimmnd coredump is generated during sanity test

5.19.01
fixed
None
defect
imm
nd
major
False
2019-01-09
2018-10-29
No

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

1 Attachments

Related

Wiki: ChangeLog-5.19.01

Discussion

  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-10-29
    • summary: imm: osafimmnd coredump is genereted during sanity test --> imm: osafimmnd coredump is generated during sanity test
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-10-29
    • status: accepted --> review
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-10-30
    • status: review --> fixed
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-10-30

    commit 3ace4a29e982bbfa1f81adbacc22702d6fb990ab (HEAD -> develop, origin/develop, ticket-2947)
    Author: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    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.
    
     

Log in to post a comment.