CVS: rdesktop xwin.c,1.222,1.223

Michael Gernoth <[email protected]> Thu, 12 Apr 2007 09:04:27 -0700
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12917

Modified Files:
	xwin.c 
Log Message:
[PATCH] rdesktop segfault with libx11-6 1.0.3-7 by Mark Heily <[email protected]>


Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.222
retrieving revision 1.223
diff -C2 -d -r1.222 -r1.223
*** xwin.c	17 Jan 2007 07:39:31 -0000	1.222
--- xwin.c	12 Apr 2007 16:04:25 -0000	1.223
***************
*** 3219,3223 ****
  
  	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,3223 ----
  
  	image = XCreateImage(g_display, g_visual, g_depth, ZPixmap, 0,
! 			     (char *) data, cx, cy, g_bpp, 0);
  
  	if (g_ownbackstore)


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV