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 "Fred Preston (JIRA)" <ax...@ws.apache.org> on 2005/06/16 15:31:04 UTC

[jira] Created: (AXISCPP-700) Attempting to set SSL properties in config file without defining a SSL library

Attempting to set SSL properties in config file without defining a SSL library
------------------------------------------------------------------------------

         Key: AXISCPP-700
         URL: http://issues.apache.org/jira/browse/AXISCPP-700
     Project: Axis-C++
        Type: Bug
 Environment: n/a
    Reporter: Fred Preston
 Assigned to: Fred Preston 


If AXISCPP.CONF contains some SSL configuration information, but not SSL library has been declared then the HTTPTransport will try to call methods on a NULL pointer (this is because no SSL library object has been loaded into that pointer).

e.g.
int HTTPTransport::setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char *value) throw (HTTPTransportException)
{
:
case SECURE_PROPERTIES:
{
    iSuccess = m_pActiveChannel->setSecureProperties( value);

  break;
}
:
}
becomes:
case SECURE_PROPERTIES:
{
  if( m_pActiveChannel != NULL)
  {
    iSuccess = m_pActiveChannel->setSecureProperties( value);
  }

  break;
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-700) Attempting to set SSL properties in config file without defining a SSL library

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-700?page=all ]
     
Fred Preston closed AXISCPP-700:
--------------------------------


> Attempting to set SSL properties in config file without defining a SSL library
> ------------------------------------------------------------------------------
>
>          Key: AXISCPP-700
>          URL: http://issues.apache.org/jira/browse/AXISCPP-700
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> If AXISCPP.CONF contains some SSL configuration information, but not SSL library has been declared then the HTTPTransport will try to call methods on a NULL pointer (this is because no SSL library object has been loaded into that pointer).
> e.g.
> int HTTPTransport::setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char *value) throw (HTTPTransportException)
> {
> :
> case SECURE_PROPERTIES:
> {
>     iSuccess = m_pActiveChannel->setSecureProperties( value);
>   break;
> }
> :
> }
> becomes:
> case SECURE_PROPERTIES:
> {
>   if( m_pActiveChannel != NULL)
>   {
>     iSuccess = m_pActiveChannel->setSecureProperties( value);
>   }
>   break;
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXISCPP-700) Attempting to set SSL properties in config file without defining a SSL library

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-700?page=all ]
     
Fred Preston resolved AXISCPP-700:
----------------------------------

    Resolution: Fixed

Added extra checking as suggested in jira

> Attempting to set SSL properties in config file without defining a SSL library
> ------------------------------------------------------------------------------
>
>          Key: AXISCPP-700
>          URL: http://issues.apache.org/jira/browse/AXISCPP-700
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> If AXISCPP.CONF contains some SSL configuration information, but not SSL library has been declared then the HTTPTransport will try to call methods on a NULL pointer (this is because no SSL library object has been loaded into that pointer).
> e.g.
> int HTTPTransport::setTransportProperty( AXIS_TRANSPORT_INFORMATION_TYPE type, const char *value) throw (HTTPTransportException)
> {
> :
> case SECURE_PROPERTIES:
> {
>     iSuccess = m_pActiveChannel->setSecureProperties( value);
>   break;
> }
> :
> }
> becomes:
> case SECURE_PROPERTIES:
> {
>   if( m_pActiveChannel != NULL)
>   {
>     iSuccess = m_pActiveChannel->setSecureProperties( value);
>   }
>   break;
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira