]> git.sur5r.net Git - bacula/bacula/commit
Fix #2085 About director segfault in cram-md5 function
authorEric Bollengier <eric@baculasystems.com>
Mon, 12 Sep 2016 15:48:08 +0000 (17:48 +0200)
committerKern Sibbald <kern@sibbald.com>
Tue, 20 Sep 2016 14:57:30 +0000 (16:57 +0200)
commit44dcf4731d5a6db8f12ca5a969c02b98a33a6ed4
tree31f4b858964c33ad77ce21ae785a12608771a8d4
parentf4be2a661836ac97a7aab8af0bb6e5b1fb49b746
Fix #2085 About director segfault in cram-md5 function

The socket is not supposed to be NULL at that point.

  BSOCK::recv (this=0x0) at bsock.c:795
  in cram_md5_respond (bs=0x0, password=0x7f0961a939c8 "336e56dd67724e551c983a1c50c1f51f", tls_remote_need=<value optimized out>, compatible=0x7f09a53e0a68) at cram-md5.c:155
  in authenticate_storage_daemon (jcr=0x1469218, store=0x7f0961a93a28) at authenticate.c:98
  in connect_to_storage_daemon (jcr=0x1469218, retry_interval=10, max_retry_time=1800, verbose=1) at msgchan.c:133
  in do_backup (jcr=0x1469218) at backup.c:498
bacula/src/dird/authenticate.c
bacula/src/dird/msgchan.c
bacula/src/lib/cram-md5.c