diff options
author | Jeremy Allison <jra@samba.org> | 2001-07-23 22:06:05 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-07-23 22:06:05 +0000 |
commit | a9ab7eaa5d023f0f6c2421f504f81988fd41467b (patch) | |
tree | cf65325ae442ed81c29af764246bf31692c3bd69 /source3/smbd/chgpasswd.c | |
parent | cab11894ec59359e7eac97adf18b1d699c8311bf (diff) | |
download | samba-a9ab7eaa5d023f0f6c2421f504f81988fd41467b.tar.gz samba-a9ab7eaa5d023f0f6c2421f504f81988fd41467b.tar.xz 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/chgpasswd.c')
-rw-r--r-- | source3/smbd/chgpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index 044cecb9fb0..030c69bd4a7 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; } |