[pso] Eroare GetCurrentUser
Avram Nicolae
nicolaeavram at gmail.com
Thu Apr 1 01:19:13 EEST 2010
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/562693a4/attachment.html>
More information about the pso
mailing list