mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 02:59:34 -05:00
Clear any struct padding in idbuf
This commit is contained in:
parent
172d825155
commit
52c0df1d50
1 changed files with 1 additions and 0 deletions
|
|
@ -5151,6 +5151,7 @@ mdb_env_setup_locks(MDB_env *env, MDB_name *fname, int mode, int *excl)
|
|||
#define MDB_SHORT_SEMNAMES 1 /* limited to 14 chars */
|
||||
#endif
|
||||
if (fstat(env->me_lfd, &stbuf)) goto fail_errno;
|
||||
memset(&idbuf, 0, sizeof(idbuf));
|
||||
idbuf.dev = stbuf.st_dev;
|
||||
idbuf.ino = stbuf.st_ino;
|
||||
env->me_txns->mti_mutexid = mdb_hash(&idbuf, sizeof(idbuf))
|
||||
|
|
|
|||
Loading…
Reference in a new issue