From e9accc2ad6a9ece83f66cc5d6d78a233a2a2c99c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 1 May 2008 08:39:16 -0700 Subject: Fix bug #5434 found by Ted Percival . Introduced by me in the strlcpy cleanup. Ensure the loaded password doesn't contain the '\n' at the end. Jeremy. (This used to be commit 41984743d9e89b6568119832c35ee4c0024e43a2) --- source3/client/mount.cifs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/client') diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c index 96ab4a8910..d1b735525e 100644 --- a/source3/client/mount.cifs.c +++ b/source3/client/mount.cifs.c @@ -236,6 +236,7 @@ static int open_cred_file(char * file_name) for(length = 0;length