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 | e4ddd1a4a96b7f723d3d92e4334f4033e1dbc8a8 (patch) | |
tree | 339c89f96e1c62cc34653a1bd8622e4b4146fdd3 | |
parent | bb9b3e03deebe23cf3fe10c2cb9b67a730e086a2 (diff) | |
download | samba-e4ddd1a4a96b7f723d3d92e4334f4033e1dbc8a8.tar.gz samba-e4ddd1a4a96b7f723d3d92e4334f4033e1dbc8a8.tar.xz samba-e4ddd1a4a96b7f723d3d92e4334f4033e1dbc8a8.zip |
fixed two uninitialised memory references
-rw-r--r-- | source/smbd/trans2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index f0a645d6c73..7a5276aa42f 100644 --- a/source/smbd/trans2.c +++ b/source/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 */ |