nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-


From: Paul Vixie
Subject: Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7
Date: Sun, 14 Jan 2018 14:45:08 -0800
User-agent: Postbox 5.0.22 (Windows/20171208)



David Levine wrote:
Steven wrote:

I see that the first hunk is trying to match on

    while ((pp = strchr (pp, '''))&&  buflen>  3) {

That's not right, it should be:

     while ((pp = strchr (pp, '\''))&&  buflen>  3) {

pointers aren't booleans. in BSD style as used in BIND, this would be:

while ((pp = strchr(pp, '\'')) != NULL && buflen > 3) {

--
P Vixie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]