mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
Always initialise return value in compute_desc_id in rendcommon.c
Fix on e6a581f126
, released in 0.2.7.1-alpha.
This commit is contained in:
parent
b3f79da0d5
commit
2b73dbf2a4
2 changed files with 5 additions and 1 deletions
4
changes/bug16115-init-var
Normal file
4
changes/bug16115-init-var
Normal file
|
@ -0,0 +1,4 @@
|
|||
o Minor fixes (threads, comments):
|
||||
- Always initialise return value in compute_desc_id in rendcommon.c
|
||||
Patch by "teor".
|
||||
Fix on e6a581f126ba, released in 0.2.7.1-alpha.
|
|
@ -1417,7 +1417,7 @@ rend_data_dup(const rend_data_t *data)
|
|||
static int
|
||||
compute_desc_id(rend_data_t *rend_data)
|
||||
{
|
||||
int ret;
|
||||
int ret = 0;
|
||||
unsigned replica;
|
||||
time_t now = time(NULL);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue