Author: tkreuzer
Date: Fri Dec 19 12:16:04 2008
New Revision: 38186
URL:
http://svn.reactos.org/svn/reactos?rev=38186&view=rev
Log:
NtGdiGetFontUnicodeRanges:
- Don't probe the safe buffer, but the usermode buffer
Modified:
trunk/reactos/subsystems/win32/win32k/objects/font.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/font.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/font.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/font.c [iso-8859-1] Fri Dec 19 12:16:04
2008
@@ -292,7 +292,7 @@
{
_SEH2_TRY
{
- ProbeForWrite(pgsSafe, Size, 1);
+ ProbeForWrite(pgs, Size, 1);
RtlCopyMemory(pgs, pgsSafe, Size);
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)