Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
67549a56
Commit
67549a56
authored
Apr 25, 2003
by
Howard Chu
Browse files
ITS#2467 NULL pointer check
parent
c4ddbaf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/attribute.c
View file @
67549a56
...
...
@@ -112,7 +112,7 @@ dn2entry_retry:
ldap_pvt_thread_yield
();
goto
dn2entry_retry
;
default:
boi
->
boi_err
=
rc
;
if
(
boi
)
boi
->
boi_err
=
rc
;
if
(
free_lock_id
)
{
LOCK_ID_FREE
(
bdb
->
bi_dbenv
,
locker
);
}
...
...
servers/slapd/back-bdb/group.c
View file @
67549a56
...
...
@@ -109,7 +109,7 @@ dn2entry_retry:
/* can we find group entry */
rc
=
bdb_dn2entry_r
(
be
,
txn
,
gr_ndn
,
&
e
,
NULL
,
0
,
locker
,
&
lock
);
if
(
rc
)
{
boi
->
boi_err
=
rc
;
if
(
boi
)
boi
->
boi_err
=
rc
;
if
(
rc
==
DB_LOCK_DEADLOCK
||
rc
==
DB_LOCK_NOTGRANTED
)
{
if
(
txn
)
{
/* must let owning txn abort, but our result
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment