diff options
Diffstat (limited to 'source3/smbd/mangle.c')
-rw-r--r-- | source3/smbd/mangle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c index 61490c444e..4c00f6d14a 100644 --- a/source3/smbd/mangle.c +++ b/source3/smbd/mangle.c @@ -135,6 +135,8 @@ BOOL name_to_8_3(const char *in, BOOL cache83, const struct share_params *p) { + memset(out,'\0',13); + /* name mangling can be disabled for speed, in which case we just truncate the string */ if (!lp_manglednames(p)) { |