mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Stupid sizeof operator!
svn:r1508
This commit is contained in:
@@ -125,7 +125,7 @@ int onionskin_answer(circuit_t *circ, unsigned char *payload, unsigned char *key
|
||||
cell_t cell;
|
||||
crypt_path_t *tmp_cpath;
|
||||
|
||||
tmp_cpath = tor_malloc_zero(sizeof(tmp_cpath));
|
||||
tmp_cpath = tor_malloc_zero(sizeof(crypt_path_t));
|
||||
|
||||
memset(&cell, 0, sizeof(cell_t));
|
||||
cell.command = CELL_CREATED;
|
||||
|
||||
Reference in New Issue
Block a user