]> git.sur5r.net Git - bacula/bacula/commit
Fix race condition between setip and the access to CLIENT::address()
authorEric Bollengier <eric@baculasystems.com>
Tue, 14 Nov 2017 14:54:00 +0000 (15:54 +0100)
committerKern Sibbald <kern@sibbald.com>
Mon, 20 Nov 2017 06:59:09 +0000 (07:59 +0100)
commit91dcfd8b33c0dba3e2eb83f899e57102c29e3ee1
tree8b1eedf08be448a56450f56fa02853cbbe819049
parent83f964cf9f93c2b6177a4ad64c52a5d04a52bfe4
Fix race condition between setip and the access to CLIENT::address()

Fix concurrency issue between setAddress() and address()
we need to copy the address in an argument, the variable can be
freed at any time.
bacula/src/dird/backup.c
bacula/src/dird/dird_conf.c
bacula/src/dird/dird_conf.h
bacula/src/dird/fd_cmds.c
bacula/src/dird/snapshot.c
bacula/src/dird/ua_cmds.c
bacula/src/dird/ua_dotcmds.c
bacula/src/dird/ua_status.c
bacula/src/lib/util.c