bareos: master cc448f9c

Author Committer Branch Timestamp Parent
pstorz franku master 2020-11-25 13:14 master aa9b6cbf 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 - CHANGELOG.md Diff File
mod - core/src/dird/ua_acl.cc Diff File
mod - core/src/lib/mem_pool.cc Diff File