Hi,

postfix-policyd is obsolete and won't receive any updates (apart from critical 
security bugs). The packages has been removed from unstable and testung and it 
won't be included kn the next stable Debian release.

You are free to fix the bugs in the package, but you should be aware of the 
fact that there will not be any update in the Debian.

Ondřej Surý

On 12. 2. 2013, at 0:30, Antoni Villalonga <[email protected]> wrote:

> I attach the real patch.
> 
> "The strings may not overlap", as strcpy man says.
> 
> Also fixed the "spaces counter", this is the safe way AFAIK.
> 
> Regards
> 
> --- syslog.c.orig    2013-02-12 00:24:36.000000000 +0100
> +++ syslog.c    2013-02-12 00:25:38.000000000 +0100
> @@ -210,14 +210,15 @@
> {
>            char    *p;
>   unsigned int     i = 0;
> +  unsigned int     n = 0;
> 
>   if (strlen (str) == 0)
>     return (str);
> 
>   for (i = 0; isspace (str[i]); i++)
> -    ;
> +    n++;
> 
> -  strcpy (str, str + i);
> +  str=+n;
> 
>   p = str + strlen (str);
>     while ((p--) != str && isspace (*p))
> 
> 
> -- 
> Antoni Villalonga
> http://friki.cat/


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to