axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamlesh kumar <>
Subject SOAPTransport segfaults
Date Thu, 17 Aug 2006 20:38:53 GMT
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)
            m_pcUsername = NULL;
        if (m_pcPassword)
            m_pcPassword = NULL;

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message