I have created a JIRA issue for this. 
https://issues.apache.org/jira/browse/AXISCPP-999

Can someone take a look at it? The fix is pretty
simple. 

-k

--- Kamlesh kumar <[EMAIL PROTECTED]> wrote:

> SOAPTransport.h defines two member variables
> m_pcUsername and m_pcPassword.
> 
> However, they are not set to NULL in the constructor
> and so causes the following piece of code to
> segfault
> since m_pcUsername and m_pcPassword could be
> pointing
> to random memory address.
>  
> virtual ~SOAPTransport()
>     {
>         if (m_pcUsername)
>         {
>             delete[]m_pcUsername;
>             m_pcUsername = NULL;
>         }
>         if (m_pcPassword)
>         {
>             delete[]m_pcPassword;
>             m_pcPassword = NULL;
>         }
>     };
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to