mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Add a control lock mutex for protecting certain control variables.
This commit is contained in:
parent
37ef39e70a
commit
4db4641dae
|
|
@ -373,6 +373,8 @@ struct rzip_control {
|
|||
uchar *salt_pass;
|
||||
int salt_pass_len;
|
||||
uchar *hash;
|
||||
|
||||
pthread_mutex_t control_lock;
|
||||
unsigned char eof;
|
||||
unsigned char magic_written;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue