mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Fix a memory leak when v3 directory authorities load their keys
and cert from disk. Bugfix on 0.2.0.1-alpha.
This commit is contained in:
parent
c0515b307c
commit
2fa5410218
@ -23,6 +23,8 @@ Changes in version 0.2.1.15??? - ????-??-??
|
||||
unhappy. Bugfix on 0.2.0.x.
|
||||
- Fix use of freed memory when deciding to mark a non-addable
|
||||
descriptor as never-downloadable. Bugfix on 0.2.1.9-alpha.
|
||||
- Fix a memory leak when v3 directory authorities load their keys
|
||||
and cert from disk. Bugfix on 0.2.0.1-alpha.
|
||||
|
||||
|
||||
Changes in version 0.2.1.14-rc - 2009-04-12
|
||||
|
@ -330,9 +330,6 @@ load_authority_keyset(int legacy, crypto_pk_env_t **key_out,
|
||||
"certificate");
|
||||
goto done;
|
||||
}
|
||||
parsed->cache_info.signed_descriptor_body = cert;
|
||||
parsed->cache_info.signed_descriptor_len = eos-cert;
|
||||
cert = NULL;
|
||||
|
||||
if (*key_out)
|
||||
crypto_free_pk_env(*key_out);
|
||||
|
Loading…
Reference in New Issue
Block a user