[MPlayer-cvslog] CVS: main/loader ldt_keeper.c,1.15,1.16

Reimar Döffinger CVS syncmail at mplayerhq.hu
Wed Jan 19 18:04:01 CET 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/loader
In directory mail:/var2/tmp/cvs-serv7509

Modified Files:
	ldt_keeper.c 
Log Message:
initialize modify_ldt struct to 0.


Index: ldt_keeper.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/ldt_keeper.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ldt_keeper.c	21 Dec 2004 23:26:45 -0000	1.15
+++ ldt_keeper.c	19 Jan 2005 17:03:59 -0000	1.16
@@ -201,6 +201,7 @@
 	return NULL;
     }
     *(void**)((char*)ldt_fs->fs_seg+0x18) = ldt_fs->fs_seg;
+    memset(&array, 0, sizeof(array));
     array.base_addr=(int)ldt_fs->fs_seg;
     array.entry_number=TEB_SEL_IDX;
     array.limit=array.base_addr+getpagesize()-1;




More information about the MPlayer-cvslog mailing list