tags 492015 + patch
thanks
Thanks a lot!
Best regards,
// Ola
On Sat, Sep 20, 2008 at 08:08:23PM +0300, Timo Juhani Lindfors wrote:
> Ola Lundqvist <[EMAIL PROTECTED]> writes:
> > Do you have a patch file that you can send to me?
>
> Here's a patch.
>
>
> I'm still bit unsure about it but
Ola Lundqvist <[EMAIL PROTECTED]> writes:
> Do you have a patch file that you can send to me?
Here's a patch.
diff -ru vnc4-4.1.1+X4.3.0.orig/unix/xc/programs/Xserver/cfb/cfb8line.c vnc4-4.1.1+X4.3.0/unix/xc/programs/Xserver/cfb/cfb8line.c
--- vnc4-4.1.1+X4.3.0.orig/unix/xc/programs/Xserver/cfb/c
Hi Timo
On Sat, Sep 06, 2008 at 04:54:08PM +0300, Timo Juhani Lindfors wrote:
> Apparently on line 1319 of cfb8lineCO.c
>
> len = abs(new_x2 - new_x1) - 1; /* this routine needs the "-1" */
>
> sets len to "-1" and later the loop
>
> while ((len -= 2) >= 0)
> {
> body body;
> }
>
> sets l
Apparently on line 1319 of cfb8lineCO.c
len = abs(new_x2 - new_x1) - 1; /* this routine needs the "-1" */
sets len to "-1" and later the loop
while ((len -= 2) >= 0)
{
body body;
}
sets len to "-3" causing
if (len & 1)
body;
to be run. If I change that to
if (len >= 0 && len & 1)
4 matches
Mail list logo