Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: #7 (typeset -Tp) (was Re: Zsh - Multiple DoS Vulnerabilities)
- X-seq: zsh-workers 44288
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: <zsh-workers@xxxxxxx>
- Subject: Re: #7 (typeset -Tp) (was Re: Zsh - Multiple DoS Vulnerabilities)
- Date: Mon, 13 May 2019 10:01:21 +0100
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190513090124euoutp02018bf08ceb9c34de8f8935f02b67686e~eMojR27yS0323103231euoutp02e
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1557738084; bh=41h+fcBDGMcEpdQp27kcqR2kJLByzs30U8Cx8iuwxxs=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Hv86wOt++5qCk2uF/ORVOYczXP3FGjW/80kHBbWG2Sqh3fQEYuNmDZ1bWTTbSn3I1 l1avd04EqK+6CifK2Ji0RUa+QQHsTq6XEkfYjSoUiYnJy767iO0RzKCDVFcNYA3K0z FxmB1gjgsS1b9bzwilTRtME/hYoFcKeT/ID+DzCA=
- In-reply-to: <58882-1557539125.040984@0wLk.G1UB.-8BX>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAAOKOsfSAR5aRBvEcyQKRzDCvOgRJdyRvVb9AXMq6d22RaUozQ@mail.gmail.com> <CAH+w=7Y8d0h43rM_dHhbiT8nvL3-zxF8DUWTjn--hPX8sF7iaA@mail.gmail.com> <CGME20190511014656epcas1p42f3f8cf10ab875cb0cb1c2bf9b28e85e@epcas1p4.samsung.com> <58882-1557539125.040984@0wLk.G1UB.-8BX>
On Sat, 2019-05-11 at 03:45 +0200, Oliver Kiddle wrote:
> I'm fairly certain that the second part of the patch renders the lines
> removed in the first part as dead code but it'd be good if someone else
> could check my logic which is as follows: Given -p, typeset_single() is
> only now called when -m is set. usepm will always then be true because
> with -m, pm will always be set and never with PM_UNSET. So we go into
> the if (usepm) block on line 2193 which has early returns on every
> branch.
That certainly looks plausible but you could always put a DPUTS() check
there.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author