mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
CVE-2022-37966 s3:param: Fix old-style function definition
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 80dc3bc2b80634ab7c6c71fa1f9b94f0216322b2) BUG: https://bugzilla.samba.org/show_bug.cgi?id=15237 Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
f4d487bda5
commit
523f9aa70a
@ -2148,7 +2148,7 @@ struct loadparm_service *lp_servicebynum(int snum)
|
||||
return ServicePtrs[snum];
|
||||
}
|
||||
|
||||
struct loadparm_service *lp_default_loadparm_service()
|
||||
struct loadparm_service *lp_default_loadparm_service(void)
|
||||
{
|
||||
return &sDefault;
|
||||
}
|
||||
@ -4808,7 +4808,7 @@ unsigned int * get_flags(void)
|
||||
return flags_list;
|
||||
}
|
||||
|
||||
enum samba_weak_crypto lp_weak_crypto()
|
||||
enum samba_weak_crypto lp_weak_crypto(void)
|
||||
{
|
||||
if (Globals.weak_crypto == SAMBA_WEAK_CRYPTO_UNKNOWN) {
|
||||
Globals.weak_crypto = SAMBA_WEAK_CRYPTO_DISALLOWED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user