approved articles with inn 2.4.2 - perm issue

Russ Allbery rra at stanford.edu
Sun Dec 11 22:24:07 UTC 2005


Jens Schlegel <inn at jsc.no-ip.org> writes:

> i've found an issue with sending approved articles. Anyone how has
> permissions to send articles through readers.conf is able to send
> approved articles also.

> fix:
> --- nnrpd/post.c.orig   2005-10-31 05:46:22.000000000 +0100
> +++ nnrpd/post.c        2005-10-31 05:46:37.000000000 +0100
> @@ -699,6 +699,7 @@
>      if (approved && !PERMaccessconf->allowapproved) {
>          snprintf(Error, sizeof(Error),
>                   "You are not allowed to approve postings");
> +       return Error;
>      }

>      Error[0] = '\0';

Sigh.  We just can't ever get this right.  Thanks, fixed.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-bugs mailing list