mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
pdb_ldap: Fix Coverity ID 1508985 Use of 32-bit time_t
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
fe96aa111c
commit
177c35604b
@ -291,8 +291,8 @@ static NTSTATUS ldapsam_get_seq_num(struct pdb_methods *my_methods, time_t *seq_
|
||||
|
||||
/* very basic sanity check */
|
||||
if (*seq_num <= 0) {
|
||||
DEBUG(3,("ldapsam_get_seq_num: invalid sequence number: %d\n",
|
||||
(int)*seq_num));
|
||||
DBG_NOTICE("invalid sequence number: %" PRIi64 "\n",
|
||||
(int64_t)(*seq_num));
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user