bareos: bareos-18.2 6953c14c

Author Committer Branch Timestamp Parent
pstorz franku bareos-18.2 2020-11-25 13:14 bareos-18.2 098e19d9 Pending
Affected Issues  0001281: Director crashes on memory access violation in CloseMemoryPool() and is_regex()
Changeset dir: fix two potential memory access violations

Fixes 0001281: Director crashes on memory access violation
             in CloseMemoryPool() and is_regex()

mem_pool: Remove calculation of the variables "count"
and "bytes" which caused the crash while the results are
not used at all. Also reduces variable scope and removes
a pointless cast.

ua_acl: fix is_regex() function, replace error-prone and
buggy function with simpler c++-based string-handling.
mod - core/src/dird/ Diff File
mod - core/src/lib/ Diff File