mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 21:19:53 -05:00
Check for opinfo->boi_txn before using it - sometimes it is NULL even if
opinfo isn't
This commit is contained in:
parent
400458c9c5
commit
8d1f26b7b6
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ bdb_do_search( Operation *op, SlapReply *rs, Operation *sop,
|
|||
}
|
||||
}
|
||||
|
||||
if ( opinfo ) {
|
||||
if ( opinfo && opinfo->boi_txn ) {
|
||||
ltid = opinfo->boi_txn;
|
||||
locker = TXN_ID( ltid );
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue