CVS: rdesktop xwin.c,1.176,1.177

Peter Åstrand <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22089

Modified Files:
	xwin.c 
Log Message:
The current version of ui_create_cursor requires that
null_pointer_data is nine octets. This patch fixes valgrind errors.


Index: xwin.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xwin.c,v
retrieving revision 1.176
retrieving revision 1.177
diff -C2 -d -r1.176 -r1.177
*** xwin.c	23 Aug 2004 11:28:23 -0000	1.176
--- xwin.c	8 Sep 2004 07:19:20 -0000	1.177
***************
*** 947,951 ****
  {
  	uint8 null_pointer_mask[1] = { 0x80 };
! 	uint8 null_pointer_data[4] = { 0x00, 0x00, 0x00, 0x00 };
  	XSetWindowAttributes attribs;
  	XClassHint *classhints;
--- 947,951 ----
  {
  	uint8 null_pointer_mask[1] = { 0x80 };
! 	uint8 null_pointer_data[9] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  	XSetWindowAttributes attribs;
  	XClassHint *classhints;



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.