0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

initialize modify_ldt struct to 0.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14538 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-01-19 17:03:59 +00:00
parent 93cd7326b3
commit ce701ae438

View File

@ -201,6 +201,7 @@ ldt_fs_t* Setup_LDT_Keeper(void)
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;