bareos: bareos-19.2 208119f1

Author Committer Branch Timestamp Parent
arogge arogge bareos-19.2 2020-02-06 16:03 bareos-19.2 427000f5 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.

(cherry picked from commit d3983ba1d08d9bda69ed58c36ec4253353106344)
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