Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Fix segfaults with exec options
- X-seq: zsh-workers 30113
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: Fix segfaults with exec options
- Date: Mon, 16 Jan 2012 22:31:42 -0500
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201107; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=VToRkOx1ixrRyPz6mZ/ur+Ev34k3tuSigp9VfWSVMjQ=; b=iBoycf5mcoNy8NzYftLD2xRw7eelIr6TxJxWtwc+7/G3PZpLLT1O/DUS/lVbK6ifpFmdpM5pBlKuA21ATznJEootO0ohsRFForsxxkia2Z7B+fzUEhaBC2qygQtyxBkywwfbXR0I0BSeDaCcspQpKiZbwYx8+vYrKgMMfq9yEuE=;
- In-reply-to: <87ty3v92gw.fsf@ft.bewatermyfriend.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <87ty3v92gw.fsf@ft.bewatermyfriend.org>
On 2012-01-16 at 14:55 +0100, Frank Terbeck wrote:
> I've CC:ed Phil, who appears to be the original author of the code
> because I don't know the code very well and `execcmd()', being the 1000+
> lines function it is, intimidates me a little...
Erk. Sorry. :( *blush* Stupid mistake on my part.
> Maybe he (or someone else) has an idea about how to fix this at a more
> fundamental level. To me, my fix just plugs some holes with duct tape.
The "options for keywords" stuff is all a bit of a hack, since
fundamentally they're not supposed to take options, but bash does and
various tools assume you can ssh with certain command-line constructs,
so these were put in for interoperability.
Sorry for the lack of corner case analysis on my part.
--
https://twitter.com/syscomet
Messages sorted by:
Reverse Date,
Date,
Thread,
Author