nmh-workers
[Top] [All Lists]

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

2018-01-14 16:45:38


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


--
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>