]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix #9724 empty EncryptionCommand crash the SD
authorAlain Spineux <alain@baculasystems.com>
Fri, 9 Dec 2022 14:36:57 +0000 (15:36 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
commita9bdf80490896563d06277e79d1ad280839797ad
treef0acc773e627fdcd101e92573cde6a3601879551
parented4751099c130aa99514c5fe25c724e62e537587
Fix #9724 empty EncryptionCommand crash the SD

- fix edit_device_codes() to handle NULL has empty format string
- test for empty EncryptionCommand at runtime and report a FATAL error.
  tested for "label" and "run"
bacula/src/stored/autochanger.c
bacula/src/stored/dev.c