mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
4e624478dc
Fix a ubsan detected integer overflow. ../../source4/auth/ntlm/auth_sam.c:445:56: runtime error: signed integer overflow: 60 * 600000000 cannot be represented in type 'int' In practice this meant that the default for the smb.conf parameter "old password allowed period" was approximately 16 seconds, rather than the intended 60 minutes. Similarly the value used would be 22.5 times less than the value specified in smd.conf. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jan 13 23:52:38 UTC 2021 on sn-devel-184 |
||
---|---|---|
.. | ||
gensec | ||
kerberos | ||
ntlm | ||
tests | ||
auth.h | ||
pyauth.c | ||
pyauth.h | ||
sam.c | ||
samba_server_gensec.c | ||
session.c | ||
session.h | ||
system_session.c | ||
unix_token.c | ||
wscript_build | ||
wscript_configure |