Project

General

Profile

Bug #437

Updated by Tobias Brunner almost 7 years ago

Hi:

In the latest version,

derive_ike_keys :
....
line 271:
if (dh->get_shared_secret(dh, &secret) != SUCCESS)
{
return FALSE;
}
....
line 358:
chunk_clear(&secret);



The secret were allocted by dh->get_shared_secret,and it was freed at line 358.
But,there may be some mistakes between line 271 and line 358,and it returned FALSE
without free the secret.

Back