Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information