Windows error 0x0000051D, 1309

Detailed Error Information

NO_IMPERSONATION_TOKEN[1]

MessageAn attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x8007051D.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code1309 (0x051d)

Questions

3votes
1answer

Basic buffer overflow tutorial

I'm learning about basic buffer overflows, and I have the following C code: int your_fcn() { char buffer[4]; int *ret; ret = buffer + 8; (*ret) += 16; return 1; } int main() { int mine = 0; int yours = 0; yours = your_fcn(); mine = yours + 1; [...] read more
c
assembly
buffer-overflow
2votes
1answer

Why do the addresses in my assembler dump differ from the addresses of registers?

I have a very basic program that I compiled with gcc -m32 -g -o hello32.out hello.c When I run disassemble main in gdb I get the following output: 0x0000051d <+0>: lea ecx,[esp+0x4] 0x00000521 <+4>: and esp,0xfffffff0 0x00000524 <+7>: push DWORD PTR [ecx-0x4] 0x00000527 <+10>: push ebp 0x00000528 <+11>: mov ebp,esp [...] read more
gcc
assembly
x86
gdb
0votes
0answers

Why are these two identical hello world.c disassemblies different?

The only difference between these is the number of iterations. Below is mine and below that is the assembly code from the book I'm reading. I've also seen other disassembly code of the same hello world and they are the same to the book. My hello world seems to have [...] read more
assembly
x86

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0