ccrtp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ccrtp-devel] CryptoContext: uninitialized value


From: Tristan Matthews
Subject: [Ccrtp-devel] CryptoContext: uninitialized value
Date: Sun, 29 Apr 2012 21:45:46 -0400 (EDT)

[Apologies for cross-posting...accidentally mailed this to bug-commoncpp]

I was just wondering if macCtx in CryptoCtx is deliberately _not_ initialized 
in either of CryptoContext's constructors.
I ask because this value is used in an if-statement in the destructor for 
CryptoContext (see CryptoContext.cpp:180).
Note that the body of the if-statement checks against initialized values before 
doing any work, so the current code is harmless.

Best,
Tristan

-- 

Tristan Matthews
Développeur de logiciels libres
address@hidden
Ligne directe: 514-276-5468 poste 113

Fax : 514-276-5465
7275 Saint Urbain
Bureau 200
Montréal, QC, H2R 2Y5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]