diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-23 07:44:01 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-23 07:44:01 +0000 |
commit | 7fcdb8fb7ea14b014902342cf4eb1e4d92446498 (patch) | |
tree | 42707c4f0c8ef360a7726cc147491c920d8b98f1 /source3/smbd | |
parent | c389bd2d6b53e3b913352677ac48288b5b90c6b4 (diff) | |
download | samba-7fcdb8fb7ea14b014902342cf4eb1e4d92446498.tar.gz samba-7fcdb8fb7ea14b014902342cf4eb1e4d92446498.tar.bz2 samba-7fcdb8fb7ea14b014902342cf4eb1e4d92446498.zip |
fixed two uninitialised memory references
(This used to be commit e4ddd1a4a96b7f723d3d92e4334f4033e1dbc8a8)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index f0a645d6c7..7a5276aa42 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -758,7 +758,7 @@ static int call_trans2findfirst(connection_struct *conn, for (i=0;(i<maxentries) && !finished && !out_of_space;i++) { - BOOL got_exact_match; + BOOL got_exact_match = False; /* this is a heuristic to avoid seeking the dirptr except when absolutely necessary. It allows for a filename of about 40 chars */ @@ -1028,7 +1028,7 @@ resume_key = %d resume name = %s continue=%d level = %d\n", for (i=0;(i<(int)maxentries) && !finished && !out_of_space ;i++) { - BOOL got_exact_match; + BOOL got_exact_match = False; /* this is a heuristic to avoid seeking the dirptr except when absolutely necessary. It allows for a filename of about 40 chars */ |