Menu

#2988 imm: coredump when importing object having SaAnyT type value

5.19.01
fixed
nobody
None
defect
imm
tools
major
False
2019-01-09
2018-12-19
No

Coredump is generated when importing objects having SaAnyT value(s). The coredump backtrace is attached to the ticket.

2 Attachments

Related

Wiki: ChangeLog-5.19.01

Discussion

  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-12-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -When importing an object having SaAnyT attribute value, immcfg will generate a coredump as attached file.
    +Coredump is generated when importing objects having SaAnyT value(s). The coredump is attached to the ticket.
    
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-12-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -Coredump is generated when importing objects having SaAnyT value(s). The coredump is attached to the ticket.
    +Coredump is generated when importing objects having SaAnyT value(s). The coredump backtrace is attached to the ticket.
    
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-12-19
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,2 @@
    +TestClass.xml (3.0 kB; text/xml)
     core.1545188321.immcfg.607.SC-1 (8.7 kB; application/octet-stream)
    
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-12-19
    • status: accepted --> review
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2018-12-19

    Similar fix should also go to the function free_parserState(ParserState *state) in the same file, imm_import.cc.

     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2019-01-02
    • status: review --> fixed
    • assigned_to: Vu Minh Nguyen --> nobody
     
  • Vu Minh Nguyen

    Vu Minh Nguyen - 2019-01-02

    commit 8679707a45014fc2cb964cd931126a3607a03aab (HEAD -> develop, origin/develop, ticket-2988)
    Author: Vu Minh Nguyen vu.m.nguyen@dektech.com.au
    Date: Wed Jan 2 09:03:34 2019 +0700

    imm: coredump when importing object having SaAnyT type value [#2988]
    
    With SaAnyT value, imm import passed wrong memory pointer to free().
    
     

Log in to post a comment.