#2511 wrong declaration of release attribute in _CIMCArgsFT

Stability
pending-fixed
sfcc (103)
5
2012-09-10
2012-08-07
No

release attribute under _CIMCArgsFT in cimc/cimcft.h type does not match its counterpart in ftontend/cimcift.h under _CMPIArgsFT.
It should be:
CIMCStatus (*release) (CIMCArgs* as);
It is:
CIMCStatus (*release) (CIMCArgs as);

When caller then tries to use it, he is forced to call it this way: cimcargs->ft->release(*cimcargs); which causes SIGSEGV being sent.
Attached is a patch to correct this.

Discussion

  • Chris Buccella

    Chris Buccella - 2012-09-06
    • assigned_to: buccella --> hellerda
     
  • Dave Heller

    Dave Heller - 2012-09-10

    Committed to git master. Thanks for the bugfix, miminar.

     
  • Dave Heller

    Dave Heller - 2012-09-10
    • milestone: --> Stability
    • status: open --> pending-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks