git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3534e4e
)
tdb: Don't segfault if tdb_open_ex for check failed
author
Volker Lendecke
<vl@samba.org>
Sat, 16 Feb 2013 21:07:41 +0000
(22:07 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 19 Feb 2013 14:46:45 +0000
(15:46 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/tdb/tools/tdbtorture.c
patch
|
blob
|
history
diff --git
a/lib/tdb/tools/tdbtorture.c
b/lib/tdb/tools/tdbtorture.c
index 04bbb7da76a4b11dcf5ba6cb46f58b9a9acb5d35..760ad59313b5990b172e19e7453fcfc718a9e21f 100644
(file)
--- a/
lib/tdb/tools/tdbtorture.c
+++ b/
lib/tdb/tools/tdbtorture.c
@@
-439,6
+439,7
@@
done:
O_RDWR, 0, &log_ctx, NULL);
if (!db) {
fatal("db open failed\n");
+ exit(1);
}
if (tdb_check(db, NULL, NULL) == -1) {
printf("db check failed\n");