This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
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.
I'm getting an Input/Output error when I try and create a directory or file in a google cloud storage bucket mounted on a linux (Ubuntu 15.10) directory. Steps I have done: * Created a user named transfer * Created a /mnt/backups directory and ran chown -R transfer /mnt/backups * As [...] read more
Im reading the book "Hacking: The Art of Exploitation" and I came across a part of the book where it shows a supposed protection against buffer overflow vulnerabilities by rearranging variables in memory. I tried this and the program is still vulnerable to buffer overflows. Here is the code: #include [...] read more
I am using synergy to share my mouse and keyboard from a Windows 7 x64 server to a Mac OSX Mavericks client. Both machines are using the latest (1.4.17) version as of today. I can connect fine, the mouse works, and the numpad works. However, pressing a normal key (for [...] read more
I'm confused to why my application crashes with Segmentation fault. I have a python app using wxPython for front end. My application crashes randomly with segmentation fault and I know it has to be wxPython because I have a console version of the same code and it doesn't crash. The [...] read more
I have an HP Compaq nc8430 with a new install of Windows 7 (32 bit). Every time I sleep the laptop, it crashes. It also crashes sometimes just during normal use. It does hibernate properly. The only reliable trigger I've found to crash it is sleep mode. It's not overclocked, [...] read more
I am trying to identify memory leak in a process(C++ Application) I am using Windbg tool to identify the memory leak. 0:000> !heap -stat -h 02e10000 heap @ 02e10000 group-by: TOTSIZE max-display: 20 size #blocks total ( %) (percent of total busy bytes) 40 95857 - 25615c0 (60.70) 953130 1 [...] read more
When i have local data defined inside a function, it gets placed into .rodata section. This means that .text section will contain relative reference (//1) to an absolute address (//2) inside the .text, which in turn points to the data (//3) inside .rodata. int function() { int a[] = {97, [...] read more
I am trying to create an assembly in SQL but I am not able to load the following DLL. System.ServiceModel.Internals create assembly [system.servicemodel.internals] from 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.ServiceModel.Internals.dll' with permission_set = safe; go I get this error: > Msg 6218, Level 16, State 2, Line 2 CREATE ASSEMBLY for assembly > 'System.ServiceModel.Internals' failed [...] read more
I want to get the String from an EditText and then read individual characters from it. I've tried the following code: String PT = pt.getText().toString(); int len = PT.length(); char chars[] = PT.toCharArray(); for(int i=0;i<len;i++) { Toast.makeText(encrypt.this,chars[i], 0).show(); } However I get a Force Close error on this. Where am [...] read more
I am analysing a core dump of a process under SPARC Solaris. mdb doesn't show functions in the stack correctly. Why could that be? No optimization compiler flags are used to build the process. -------------------------------------------------------------------------------- An update SPARC keeps return addresses in %i7 and %o7 registers. Code that doesn't manipulate [...] read more
Here is a "simplified blinky" example from MikroC meant to toggle the user LED at a rate that is visible to the naked eye: void main() { GPIO_Clk_Enable(&GPIOA_BASE); GPIO_Digital_Output(&GPIOA_BASE, _GPIO_PINMASK_5); GPIOA_ODR |= (1<<_GPIO_PIN_5); while(1) { GPIOA_ODR ^= (1<<_GPIO_PIN_5); Delay_ms(300); } } The expected result of this code is that the [...] read more
I have been trying to configure an SMS gateway service using Kannel and sqlbox. My system is successfully connected to the Airtel SMSC. But whenever I try to send SMS (Inserting data in send_sms table of course), I get this weird response from the SMSC > NACK/0x00000061/Invalid Scheduled Delivery Time [...] read more
I'm trying to write a program that accepts strings (these are given) and then stores them according to their length in another array. After this, the program prints out the amount of the word who have that length. I tried to create this using this code: #include <stdlib.h> #include <stdio.h> [...] read more
r0 = 0x00000090 string in r0 in Memory view shows - and the man said they must go LDRB r3, [r0] After this if i check r3 = 0x00000061 in Memory it shows Q...S I am using Keil to run this ARM7 big endian assembly. LDRB is supposed to load [...] read more
I compiled very very simple assembly code with nasm and ld under Linux (CentOS6 32bit). nasm -f elf -o basic1.o basic1.asm ld -o basic1 basic1.o cat basic1.asm ;--------------------------------------- section .data msg db 'hello world', 10, 00 section .bss tests resd 100 segment .text global _start _start: And, I execute the [...] read more
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
.globl main .data array: .asciiz "a" .align 5 .asciiz "b" .align 5 .asciiz "c" .text main: # Loads address of array into $a0 la $t0, array # Loads a[0] lw $a0, 0($t0) # Sets to print string li $v0, 4 #prints the string syscall The above MIPS assembly code is [...] read more
First, sorry, I know this is long and people might not read it all, but I think it needs a very detailed explanation. I'm trying to get long file names working on Chan Fat File on a Cortex M4 with FreeRTOS. I've got a weird thing going on where, for [...] read more
How can I programmatically move the Password to the center using .AddRule (RelativeLayout.CENTER_VERTICAL);? enter image description here [https://i.stack.imgur.com/1em3p.png] LinearLayout PO = (LinearLayout)RV .findViewById(R.id.LL1); EditText ET = new EditText(getActivity()); ET.setId(1); ET.setHint("Your name"); ET.setInputType(0x00000061); ET.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.FILL_PARENT, RelativeLayout.LayoutParams.WRAP_CONTENT)); ET.setPadding(40,20,40,20); ET.setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); //ET.addRule(RelativeLayout.CENTER_VERTICAL); PO.addView(ET); .addRule lit. read more
The question itself begs an obvious answer. In any case, here's a snippet of my code... switch(cSet)... case 8:{ //Special Characters finalSet = special; char* charSet = new char[special.size() + 1]; charSet[special.size()] = 0; //Append null terminator memcpy(charSet, special.c_str(), special.size()); break; } case 9:{ //Alphnumeric and Special character finalSet = [...] read more
I'm trying to understand how exactly assembly code lay out to memory space. I wrote a simple assembly code which contains just a few lines of instruction and .data section. When I inspected it with GDB, I saw more stuff beyond data section which I couldn't see with objdump -section-header [...] read more
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