bareos: master 9209b254

Author Committer Branch Timestamp Parent
arogge bruno-at-bareos master 2023-07-14 12:08 master a4ad6e88 Pending
Changeset fastlz: remove unaligned memory accesses

- some of the helper functions used unaligned memory access as an
  optimization. A quick look at godbolt.org showed that modern
  compilers emit the same code with or without those manual
  optimizations, so the unaligned accesses were removed to avoid
  relying on undefined behaviour.
- core: compression free internal fastlz buffers

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - core/src/fastlz/src/lz4.c Diff File
mod - core/src/lib/compression.cc Diff File