summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-23 22:06:05 +0000
committerJeremy Allison <jra@samba.org>2001-07-23 22:06:05 +0000
commita9ab7eaa5d023f0f6c2421f504f81988fd41467b (patch)
treecf65325ae442ed81c29af764246bf31692c3bd69 /source3/smbd
parentcab11894ec59359e7eac97adf18b1d699c8311bf (diff)
downloadsamba-a9ab7eaa5d023f0f6c2421f504f81988fd41467b.tar.gz
samba-a9ab7eaa5d023f0f6c2421f504f81988fd41467b.tar.bz2
samba-a9ab7eaa5d023f0f6c2421f504f81988fd41467b.zip
Fix case insensitive password change code.
Fixed crash bug with un-zeroed talloced memory. Jeremy. (This used to be commit eea1c30df246e081e672d7132345d0fd35ad9841)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index 044cecb9fb..030c69bd4a 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -250,7 +250,7 @@ static int expect(int master, char *issue, char *expected)
nread += len;
buffer[nread] = 0;
- if ((match = (ms_fnmatch(expected, buffer) == 0)))
+ if ((match = (wild_match(expected, buffer) == 0)))
timeout = 200;
}