From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9906 invoked by alias); 16 Apr 2014 05:15:04 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32553 Received: (qmail 5211 invoked from network); 16 Apr 2014 05:14:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140415221511.ZM18252@torch.brasslantern.com> Date: Tue, 15 Apr 2014 22:15:11 -0700 In-reply-to: <20140416044612.GB24565@ewok> Comments: In reply to Andrew Waldron "SegFault in stringsubst" (Apr 16, 2:46pm) References: <20140416044612.GB24565@ewok> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh workers Subject: Re: SegFault in stringsubst MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 16, 2:46pm, Andrew Waldron wrote: } } The segfault is on "restlen = strlen(rest);" when rest is uninitialised. } } I made the changes below and it seemed to fix the issue. The exec.c change doesn't change anything other than verbosity about some error conditions, correct? -- Barton E. Schaefer