axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Blough (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2C-1697) Use of uninitialized array_list
Date Sun, 29 Apr 2018 19:13:00 GMT

     [ 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


Mime
View raw message