You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Bill Blough (JIRA)" <ji...@apache.org> on 2018/04/29 19:13:00 UTC

[jira] [Updated] (AXIS2C-1697) Use of uninitialized array_list

     [ https://issues.apache.org/jira/browse/AXIS2C-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Blough updated AXIS2C-1697:
--------------------------------
    Description: 
In axis2_op_engage_module, op->engaged_module_list is assigned to (as collection_module), even if null.  While this doesn't cause a crash (due to param checking in the array_list functions), it does prevent the unit tests from passing.

 

Need to investigate and determine whether this allocation/initialization should be left up to the caller (in which case the tests need to be changed) or up to the library (in which case, need to determine best place for this to be fixed).

  was:
In axis2_op_engage_module, op->engaged_module_list is assigned (as collection_module) to, even if null.  While this doesn't cause a crash (due to param checking in the array_list functions), it does prevent the unit tests from passing.

 

Need to investigate and determine whether this allocation/initialization should be left up to the caller (in which case the tests need to be changed) or up to the library (in which case, need to determine best place for this to be fixed).


> Use of uninitialized array_list
> -------------------------------
>
>                 Key: AXIS2C-1697
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1697
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/description
>    Affects Versions: Current (Nightly)
>            Reporter: Bill Blough
>            Priority: Major
>
> In axis2_op_engage_module, op->engaged_module_list is assigned to (as collection_module), even if null.  While this doesn't cause a crash (due to param checking in the array_list functions), it does prevent the unit tests from passing.
>  
> Need to investigate and determine whether this allocation/initialization should be left up to the caller (in which case the tests need to be changed) or up to the library (in which case, need to determine best place for this to be fixed).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org