ChangeSet ID: 12880
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard(a)wine.codeweavers.com 2004/07/12 18:26:05
Modified files:
dlls/user : resource.c
Log message:
Mike McCormack <mike(a)codeweavers.com>
- Windows always strips the high bit (0x80) of the fVirt member in the
accelerator structure.
- If the FVIRTKEY bit of fVirt is set, the value of the key field is
limited to the range of one byte.
- Remove annoying fixmes about accelerator table checking. Windows
appears to do no more checking than the above.
Patch: http://cvs.winehq.org/patch.py?id=12880
Old revision New revision Changes Path
1.23 1.24 +12 -15 wine/dlls/user/resource.c
ChangeSet ID: 12875
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard(a)wine.codeweavers.com 2004/07/12 15:42:30
Modified files:
dlls/user : resource.c
Log message:
Mike McCormack <mike(a)codeweavers.com>
- CopyAcceleratorTable can cause a buffer overflow because it uses an
incorrect comparison between the number of accelerator entries
available and the number of accelerator entries in the output buffer.
- My tests show that CopyAcceleratorTable always strips the high bit
of the fVirt member of the accel struct.
- Calling DestroyAcceleratorTable with a NULL accelerator should
return FALSE.
Patch: http://cvs.winehq.org/patch.py?id=12875
Old revision New revision Changes Path
1.22 1.23 +4 -4 wine/dlls/user/resource.c