From: Michael Adam Date: Tue, 18 Mar 2008 14:30:17 +0000 (+0100) Subject: testparm: fix a segfault triggered by setting "unix password sync = yes". X-Git-Tag: samba-3.3.0pre1~3259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46a021f27c60dc579c9193606997142f5cbeba9e;p=thirdparty%2Fsamba.git testparm: fix a segfault triggered by setting "unix password sync = yes". (introduced by pstring removal 041163551194102ca67fef52c57d87020a1d09bc) Michael --- diff --git a/source/utils/testparm.c b/source/utils/testparm.c index fbfc85535cf..4eed2f57ee2 100644 --- a/source/utils/testparm.c +++ b/source/utils/testparm.c @@ -120,7 +120,6 @@ parameter.\n" ); passwd_prog = lp_passwd_program(); p = passwd_prog; - *truncated_prog = '\0'; next_token_talloc(talloc_tos(), &p, &truncated_prog, NULL);