]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_virusfilter: Allocate separate memory for config char*
authorArne Kreddig <arne@kreddig.net>
Fri, 1 Jan 2021 21:54:22 +0000 (22:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Jan 2021 12:41:13 +0000 (12:41 +0000)
commit6adf36190693d3183437fdc07bd77fc8b708bace
treeb9c24c2df18b6cc908b05df031683d8e3953242a
parent578c5805ac7c44a1dcb4e5a121f65bad95d188d5
vfs_virusfilter: Allocate separate memory for config char*

Instead of using only the pointer to the configuration char* from the
global configuration, vfs_virusfilter now allocates its own memory and
copies the char* from the global configuration.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14606
Signed-off-by: Arne Kreddig <arne@kreddig.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan  7 19:25:38 UTC 2021 on sn-devel-184

(cherry picked from commit 2f21d1b0ac8526508161de73290f67858b2fe668)
source3/modules/vfs_virusfilter.c