From 6c575d114b16f160cd5a5a31b15a09816a7ae488 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 18 Mar 2008 15:30:17 +0100 Subject: testparm: fix a segfault triggered by setting "unix password sync = yes". (introduced by pstring removal 041163551194102ca67fef52c57d87020a1d09bc) Michael (This used to be commit 46a021f27c60dc579c9193606997142f5cbeba9e) --- source3/utils/testparm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source3/utils/testparm.c') diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index fbfc85535c..4eed2f57ee 100644 --- a/source3/utils/testparm.c +++ b/source3/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); -- cgit