diff options
-rw-r--r-- | source3/web/swat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c index f95546678e..69d9fec64f 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -175,7 +175,7 @@ void get_xsrf_token(const char *username, const char *pass, char tmp[3]; snprintf(tmp, sizeof(tmp), "%02x", token[i]); - strncat(token_str, tmp, sizeof(tmp)); + strlcat(token_str, tmp, sizeof(tmp)); } } |