http://bugs.winehq.com/show_bug.cgi?id=1503
Summary: executing old 16-bit program leads to unhandled exception in scroll.c Product: Wine Version: 20030508 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gdi AssignedTo: wine-bugs@winehq.com ReportedBy: saulius.krasuckas@elst.vtu.lt
old, 16-bit app crashes every time it gets executed. AFAICS two pointers are passed to SCROLL_GetScrollRange() function, one of which is truncated to 16-bits, while another stays 32bit wide:
lpMin=0x2428, lpMax=0x415a242c
AFAICS "truncation" happens in function WINPROC_CallProc32ATo16:
11 0x4082a957 (WINPROC_CallWndProc16+0x163(proc=0x4a700dd, hwnd=0x39, msg=0xe3, wParam=0x2428, lParam=0x415a242c) [winproc.c:255] in user32.dll.so) (ebp=415a22c0) 12 0x4082f1fa (WINPROC_CallProc32ATo16+0x66(func=0x4a700dd, hwnd=0x10039, msg=0xe3, wParam=0x415a2428, lParam=0x415a242c) [winproc.c:2738] in user32.dll.so) (ebp=415a22fc)