git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2731c5
)
s3 torture: Fix unitialized variable to avoid closing a random fnum
author
Tim Prouty
<tprouty@samba.org>
Fri, 13 Mar 2009 00:08:54 +0000
(17:08 -0700)
committer
Michael Adam
<obnox@samba.org>
Thu, 19 Mar 2009 17:03:50 +0000
(18:03 +0100)
source/torture/torture.c
patch
|
blob
|
history
diff --git
a/source/torture/torture.c
b/source/torture/torture.c
index b62d7f0811e0b9dcb0570d284e3034f1235ed0b8..55b7673f831eb1be1ff4330a471e6b02a3e50cf1 100644
(file)
--- a/
source/torture/torture.c
+++ b/
source/torture/torture.c
@@
-4165,7
+4165,7
@@
static bool run_simple_posix_open_test(int dummy)
const char *dname = "\\posix.dir";
uint16 major, minor;
uint32 caplow, caphigh;
- int fnum1;
+ int fnum1
= -1
;
bool correct = false;
printf("Starting simple POSIX open test\n");