bareos: master f1ce230f
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
arogge | pstorz | master | 2023-02-08 16:08 | master 76ff9809 | Pending |
Changeset | filed: avoid reading from ephemeral buffer In AddFileset() the item pointer can be passed to all kinds of functions like plugin event handlers. As dir->msg is only short-lived and can be overwritten when communicating with the directory (e.g. emitting a job message), it is safer to copy the buffer before passing it down. |
||||
mod - core/src/filed/dir_cmd.cc | Diff File |