Windows error 0x00000041, 65

Detailed Error Information

NETWORK_ACCESS_DENIED[1]

MessageNetwork access is denied.
Declared inwinerror.h

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

MUST_SUCCEED_POOL_EMPTY[2]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0x41: MUST_SUCCEED_POOL_EMPTY.

HRESULT analysis[3]

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[3][1]
DescriptionThe default facility code.[3][1]
Error Code65 (0x0041)

Questions

10votes
1answer

Windows delays writing FAT table on small USB drive despite “Quick removal”

I am seeing delayed writes to the FAT on a small-capacity FAT(FAT12)-formatted USB flash drive even though the policy for the drive is set to "Quick Removal". (I believe this means the SurpriseRemovalOK flag is set). I've captured the SCSI commands sent to the drive over USB: the file truncation [...] read more
windows
usb-flash-drive
fat16
7votes
1answer

get non connected devices, when my device are in tethering mode

i am activating tethering mode with this code: private void setWifiTetheringEnabled(boolean enable) { WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE); Method[] methods = wifiManager.getClass().getDeclaredMethods(); for (Method method : methods) { Log.e("teste", method.getName()); if (method.getName().equals("setWifiApEnabled")) { try { method.invoke(wifiManager, null, enable); } catch (Exception ex) { } break; } } } and i [...] read more
android
android-wifi
tethering
6votes
2answers

How to send continuous keypress to a program?

I have been using SendKeys.Send() & SendKeys.SendWait() to send keys to the foreground program (a program different from the application written). I tried sending a continuous key-press by sending repeatedly the same key with a certain delay between them but the effect was not the same as a continuous keypress [...] read more
c#
winforms
console
5votes
2answers

Waste in memory allocation for local variables

This my program: void test_function(int a, int b, int c, int d){ int flag; char buffer[10]; flag = 31337; buffer[0] = 'A'; } int main() { test_function(1, 2, 3, 4); } I compile this program with the debug option: gcc -g my_program.c I use gdb and I disassemble the test_function [...] read more
c
assembly
x86
gdb
disassembly
4votes
1answer

Why don't you get full stack traces when enabling the user mode stack trace?

I'm troubleshooting some memory fragmentation problems and I've been trying to figure out why things are being allocated and who's ultimately doing the allocation. So I enabled usermode stack traces for the process (+UST flag in gflags) and got a dump. When I analyze the dump and use the !heap [...] read more
debugging
windbg
gflags
3votes
1answer

Configuring UART1 in lpc 2468

I am working on lpc2468 ARM-based microcontroller. I am not able to configure the UART1 of the controller. Previously I was using UART0 for the same purpose, but due to some changes in hardware now I have to use UART1. I want to connect GPRS module (SIMCOM 300) to the [...] read more
arm
2votes
1answer

Error in return address while simulating buffer overflow

I am learning buffer overflow from the following website. (gdb)info registers eax 0xbffff4c0 -1073744704 ecx 0xbffff4bf -1073744705 edx 0x2 2 ebx 0xb7fccff4 -1208168460 esp 0xbffff4a0 0xbffff4a0 ebp 0xbffff528 0xbffff528 esi 0x8048450 134513744 edi 0x8048340 134513472 eip 0x804841f 0x804841f <main+43> eflags 0x246 [ PF ZF IF ] cs 0x73 115 ss [...] read more
c
gdb
buffer-overflow
1vote
2answers

Outlook calendar item clipboard format documentation?

SHORT VERSION Is there any documentation on the Outlook RenPrivateAppointment clipboard format used to transfer appointments? LONG VERSION As a reminder, for anything on the clipboard, the source application can present you the data in a number of different formats. The receiver can go through the list, in order, and [...] read more
winapi
outlook
clipboard
clipboard-interaction
0votes
0answers

What is a better way to turn a user-inputted hexadecimal string into a binary in MIPS?

I'm taking a computer architecture class, and they're having us use MIPS assembly. Our current assignment is asking us to take a user-inputted hex string, and turn it into a binary one. The code I've written "works", but it's horrible, to say the least. What would be a better approach [...] read more
assembly
mips
mars-simulator
0votes
1answer

STM32F4 ADC with DMA 7 Channel regular group isn't working

I'm trying to setup my STM32F407-Discovery board to read multiple ADC channels from ADC1 using the DMA controller. It's possible to read one value without using DMA. When DMA is enabled only channel 1 is converted. The other array-elements are filled with 0. Unfortunately I cannot find my mistake because [...] read more
c
stm32
dma
adc
0votes
2answers

How to turn on LED on stm32 board using assembly language that generated by llvm?

My English skill is poor because I'm not a native English speaker. Please understand. I compiled some test code that operating alright in IAR with LLVM infra but the generated code was not operated on my test board. Detail are as follows. TEST GOAL I want to see operating the [...] read more
makefile
llvm
cortex-m3
segger-jlink
stm32l152
0votes
1answer

Protostar Stack 0 Challenge: How to find out the buffer size from assembly code?

I've been trying protostar stack0 challenge and wondering how to find out the buffer size if we don't have the source code. The original site (http://exploit-exercises.com/protostar) is no longer available, however you can still download the copy of ISO at https://download.vulnhub.com/exploitexercises/exploit-exercises-protostar-2.iso Here is the assembly code (gdb) disassemble main Dump [...] read more
c
assembly
0votes
1answer

cJSON can`t parse more than 4 elements

Trying to use cJSON parser with STM32F103C8T6 and KEIL IDE The problem is that the parser works pretty well with up to 4 elements of the JSON string, when trying to add the fifth element it gives up. This code seems to be OK: #include "cJSON.h" const char * my_json_string [...] read more
stm32
keil
cjson
0votes
0answers

Java Application crashes randomly

Our application crashes randomly. Platform is RedHat Linux, java version is jdk 1.6_17. It is a swing based application having lot of native code. The behavior is quite random. Sometimes it crashes in few minutes and some times it crashes after some hours or after long run. I the pid [...] read more
java
swing
memory-management
crash
0votes
1answer

How to exploit printf vulnerability for different input methods?

I am trying to exploit printf vulnerability with the following C code: #include <stdio.h> #include <stdlib.h> /* gcc -fno-stack-protector -z execstack -o test test.c */ void attack(){ printf("Dropping to shell...\n"); } int main(int argc, char **argv){ char buf[100]; printf("Enter user name:"); gets(buf); // what if using: scanf("%s",buf); ? printf("buffer (%d): [...] read more
c
linux
gdb
printf
exploit
0votes
1answer

How do I use these PostMessage Lparam and Wparam's?

I'm really struggling to understand how PostMessage works. I'm from a web dev background so its all very foreign to me. I'm trying to send a single "a" charcter to a third party application. I've used spy++ to get the PostMessage (params below) required but I cant make sense of [...] read more
c#
c++
windows
unmanaged
postmessage
0votes
1answer

32-bit pointer overflow in 64-bit gcc code - fails in compile

I am compiling a very large legacy Fortran 90 code (screamer) with gFortran on a Mac (2.2 GHz Intel Core i7) running Yosemite. (gFortran V5.1.0) I have 16 GB of RAM. The code is memory intensive and I am trying to increase array sizes to solve larger problems. I have [...] read more
pointers
gcc
compiler-errors
fortran
gfortran
0votes
0answers

Different buffer length in gdb

I am trying to exploit the following program : #include <string.h> int main(int argc, char *argv[]) { char little_array[512]; if (argc > 1) strcpy(little_array, argv[1]); } I want to first find the buffer length in order to overflow the stack so I use (gdb) x/20xw $esp-532 0xffffcda8: 0x00000001 0x00000000 0x41414141 [...] read more
c
gdb
buffer
overflow
0votes
1answer

Printing corresponding ascii value from inputted ints

Hey guys I am writing a mips program for a comp. arch. class that I am taking. The professor asked us to: > prompt for four integers that are between 65 and 90 inclusive, then print out > a string of 4 ASCII character corresponding the input integers. For instance [...] read more
assembly
ascii
mips
data-conversion
mars-simulator
0votes
2answers

WinDbg with dump files when you have a classic ASP app which uses a lot of .Net via interop

Ok, first please don't ask why this application is the way it is. This is a classic ASP application which in several areas uses .Net and COM and some of that .Net also reaches into COM! It's all to do with code reuse really, at some point .Net was introduced [...] read more
.net
memory-leaks
asp-classic
windbg
0votes
1answer

Sending WM_KEYUP message to a window gives an OverflowException

I am trying to implement a program that sends the same messages to a window that would be sent if a certain key is continuously pressed. This is part of the code (entire Form1.cs code is here ) for the application: [DllImport("User32.dll")] static extern int SendMessage(IntPtr hWnd, uint wMsg, UIntPtr [...] read more
c#
winforms
pinvoke
windows-messages
overflowexception
0votes
1answer

Hunting memory leaks

I'm finding leaked heap blocks by using the following command in WinDbg !heap –l With each leaked heap block I get, I'm running to following to get the stack trace. !heap -p -a leakedheapblock The following is the result of this command: address 1c841cc0 found in _HEAP @ 3930000 HEAP_ENTRY [...] read more
com
memory-leaks
-2votes
1answer

my custom arraylist it keeps crashing everytime it boots up am unsure why it keeps crashing

My code keeps crashing am not really sure whats wrong all i know is that the caller for the arraylist is not receiving it I feel as though its something with the adapter. there is no exception in android studio sinces it lets the app run the app opens up [...] read more
java
android

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  3. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0