Memory leaks in libsm

<[email protected]> Mon, 25 Mar 2002 18:15:46 +0100
Newsgroups gmane.ietf.sfl
Organization http://freemail.web.de/
Message-ID <[email protected]>
 Hi,

I have found the following memory leaks.

function CSM_MsgToEncrypt::Encrypt(CSMIME *pCSMIME)
if an exeption is thrown after pbufferResult is allocated.
if an exeption is thrown after pContentEncryptionAlg is allocated.

CSM_MsgToSign::ProduceSignerInfo(CSM_CSInst *pCSInst,SignedData *pSignedData,SignerInfo *&lpSNACCSignerInfo,CSM_Buffer *pDigestInput)
if an exception is thrown after pDigest is allocated.
if an exception is thrown after pSigBuf is allocated.
if an exception is thrown after pEncContent is allocated.
if an exception is thrown after pHash is allocated.

SM_RET_VAL CSM_MsgSignerInfo::Verify(CSMIME *pCSMIME,CSM_Buffer *pOriginalEncapContent,EncapsulatedContentInfo *encapContentInfo,CSM_CertificateChoiceLst *pCerts,CSM_MsgAttributes *pSignedAttrs)
if an exception is thrown between pSignerPublicKey allocation and destruction.
if an exception is thrown between dataToVerify allocation and destruction.

______________________________________________________________________________
Darf es ein bisschen mehr sein? Mehr Speicher, mehr Mail, mehr Erlebnis, 
mehr Leistung, mehr Prämie unter http://club.web.de/?mc=021102