diff options
author | Andreas Schneider <asn@samba.org> | 2022-10-27 08:46:39 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2022-12-14 00:48:48 +0100 |
commit | 6f94a270722594b521cbef6387b440759e2cb3ac (patch) | |
tree | 697a046ffcf4d83d68a33453072a87389330666c | |
parent | 0fe0643e0b7c283a4e49ae4be772fa6a83fe978d (diff) | |
download | samba-6f94a270722594b521cbef6387b440759e2cb3ac.tar.gz |
CVE-2022-37966 s3:client: Fix old-style function definition
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 81f4335dfb847c041bfd3d6110fc8f1d5741d41f)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15237
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/client/clitar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c index d62b53d2b17..a5c7df9c869 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -218,7 +218,7 @@ static NTSTATUS is_subpath(const char *sub, const char *full, /* * tar_get_ctx - retrieve global tar context handle */ -struct tar *tar_get_ctx() +struct tar *tar_get_ctx(void) { return &tar_ctx; } |