You are not logged in.

#1 2007-04-16 06:05:05

xor
Member
From: Sweden
Registered: 2003-03-20
Posts: 73

rdesktop 1.5.0 libx11 crash "fix"

Hello!

apply this patch to xwin.c if  rdesktop crasches after last libx11 update.


//xor


cat rdesktop-xcreateimage2.patch
*** xwin.c      2007-04-16 07:35:59.000000000 +0200
--- xwin.c      2007-04-16 07:37:24.000000000 +0200
***************
*** 3219,3225 ****
                return;
 
        image = XCreateImage(g_display, g_visual, g_depth, ZPixmap, 0,
!                            (char *) data, cx, cy, BitmapPad(g_display), cx * g_bpp / 8);
 
        if (g_ownbackstore)
        {
--- 3219,3225 ----
                return;
 
        image = XCreateImage(g_display, g_visual, g_depth, ZPixmap, 0,
!                            (char *) data, cx, cy, g_bpp, 0);
 
        if (g_ownbackstore)
        {

Offline

#2 2007-04-17 00:45:44

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: rdesktop 1.5.0 libx11 crash "fix"

Its fixed in the official repos.

http://bugs.archlinux.org/task/6899

Offline

Board footer

Powered by FluxBB