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 "Stanislav Osipov (Jira)" <ji...@apache.org> on 2022/03/25 08:42:00 UTC
[jira] [Updated] (AXIS2C-1705) Possible dereference after null
[ https://issues.apache.org/jira/browse/AXIS2C-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stanislav Osipov updated AXIS2C-1705:
-------------------------------------
Description:
File: /src/core/deployment/dep_engine.c
Null check: line 746
Dereference: line 755
Code:
if(!(dep_engine->conf_builder)) *//Null check*
{ axis2_conf_free(dep_engine->conf, env); AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Configuration builder creation failed"); dep_engine->conf = NULL; }
/* Populate the axis2 configuration from reading axis2.xml.
*/
status = axis2_conf_builder_populate_conf(dep_engine->conf_builder, env); *//Null pointer dereference*
was:
File: /src/core/deployment/dep_engine.c
Null check: line 746
Dereference: line 755
Code:
if(!(dep_engine->conf_builder)) *//Null check*
{
axis2_conf_free(dep_engine->conf, env);
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Configuration builder creation failed");
dep_engine->conf = NULL;
}
/* Populate the axis2 configuration from reading axis2.xml.
*/
status = axis2_conf_builder_populate_conf(dep_engine->conf_builder, env); *//Dereference*
> Possible dereference after null
> -------------------------------
>
> Key: AXIS2C-1705
> URL: https://issues.apache.org/jira/browse/AXIS2C-1705
> Project: Axis2-C
> Issue Type: Bug
> Components: core/deployment
> Affects Versions: 1.6.0
> Reporter: Stanislav Osipov
> Priority: Minor
>
> File: /src/core/deployment/dep_engine.c
> Null check: line 746
> Dereference: line 755
>
> Code:
> if(!(dep_engine->conf_builder)) *//Null check*
>
> { axis2_conf_free(dep_engine->conf, env); AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Configuration builder creation failed"); dep_engine->conf = NULL; }
>
> /* Populate the axis2 configuration from reading axis2.xml.
> */
> status = axis2_conf_builder_populate_conf(dep_engine->conf_builder, env); *//Null pointer dereference*
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org