summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/winbind/wb_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/winbind/wb_server.h b/source4/winbind/wb_server.h
index 111aefc624..1ffb62e485 100644
--- a/source4/winbind/wb_server.h
+++ b/source4/winbind/wb_server.h
@@ -104,6 +104,7 @@ struct wbsrv_connection {
};
#define WBSRV_SAMBA3_SET_STRING(dest, src) do { \
+ memset(dest, 0, sizeof(dest));\
safe_strcpy(dest, src, sizeof(dest)-1);\
} while(0)