bareos: master d3983ba1

Author Committer Branch Timestamp Parent
arogge arogge master 2020-02-06 16:03 master ffc074b0 Pending
Affected Issues  0001175: bareos crashes with invalid character in ACL
Changeset lib: make IsAclEntryValid() more robust

Fixes 0001175: bareos crashes with invalid character in ACL

Previously IsAclEntryValid() took a char* as a parameter that was
expected to be a POOLMEM (and would have been resized when an error
occured).
This char* has been replaced by a std::vector<char>& and the new
overload for Mmsg() is now used to format a message.
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/lib/edit.cc Diff File
mod - core/src/lib/edit.h Diff File
mod - core/src/tests/test_acl_entry_syntax.cc Diff File