[
https://issues.apache.org/jira/browse/AXIS2C-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bill Blough closed AXIS2C-1589.
-------------------------------
Resolution: Invalid
> Code base does not build with gcc 4.7 due to potential use of uninitialized
> array
> ---------------------------------------------------------------------------------
>
> Key: AXIS2C-1589
> URL: https://issues.apache.org/jira/browse/AXIS2C-1589
> Project: Axis2-C
> Issue Type: Bug
> Affects Versions: 1.6.0
> Environment: openSUSE_Factory as of 04/21/12
> Reporter: Robert Schweikert
> Priority: Major
> Labels: patch
> Attachments: axis2c_initializeArray.patch
>
>
> axiom/src/xpath/xpath_internals_engine.c
> defines the n_nodes array, but leaves it uninitialized. Values are set in a
> loop but are guarded by an if block. Thus the array may be uninitialized.
> Later on the array is used.
> In gcc 4.7 this condition is detected and when building with warnings treated
> as errors the build fails.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]