Re: crash in GetKerningPairs

2006-01-12 Thread Huw D M Davies
On Wed, Jan 11, 2006 at 05:55:00PM +0100, Piotr Pawłow wrote: > Hello, > > Wine's implementation of GetKerningPairs in dlls/gdi/font.c behaves > incorrectly (crashes) if lpkrnpair is NULL and nNumPairs is not zero. Thanks, patch sent and committed. Huw. -- Huw Davies [EMAIL PROTECTED]

crash in GetKerningPairs

2006-01-11 Thread Piotr Pawłow
Hello, Wine's implementation of GetKerningPairs in dlls/gdi/font.c behaves incorrectly (crashes) if lpkrnpair is NULL and nNumPairs is not zero. Test program: -- #include int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { HDC hdc =