[pso] Fwd: Eroare GetCurrentUser
Avram Nicolae
nicolaeavram at gmail.com
Thu Apr 1 02:05:36 EEST 2010
---------- Forwarded message ----------
From: Avram Nicolae <nicolaeavram at gmail.com>
Date: Thu, Apr 1, 2010 at 1:19 AM
Subject: Eroare GetCurrentUser
To: pso at cursuri.cs.pub.ro
Aproape am terminat tema, am rulat testele si imi trec aproape toate, cand
incerc insa sa testez syscallul "NtClose" imi da bsod si in memory dump am
mesajul:
*FOLLOWUP_IP:
sci!GetCurrentUser+33 [c:\cygwin\home\administrator\work\t1\sci_win.h @ 228]
f7880a53 8945f4 mov dword ptr [ebp-0Ch],eax
FAULTING_SOURCE_CODE:
224: unsigned long len;
225:
226:
227: if ((status=ZwOpenThreadToken(NtCurrentThread(), TOKEN_READ,
TRUE, &token)) != STATUS_SUCCESS)
> 228: status=ZwOpenProcessToken(NtCurrentProcess(), TOKEN_READ,
&token);
229: if (status != STATUS_SUCCESS)
230: return status;
231: ZwQueryInformationToken(token, TokenUser, NULL, 0, &len);
232: if (!(*user=ExAllocatePoolWithTag(NonPagedPool, len, 'ot1t')))
233: return STATUS_NO_MEMORY;* <pso at cursuri.cs.pub.ro>
Care poate fi problema?
Multumesc,
Nicu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/lurker/list/pso.html/attachments/20100401/1969f5a3/attachment.htm>
More information about the pso
mailing list