ChangeSet ID: 12875 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2004/07/12 15:42:30
Modified files: dlls/user : resource.c
Log message: Mike McCormack mike@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