python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Elusive Stack Smashing error: why does my string_to_float function sometimes crash?
I am working with some legacy C code running on a Raspberry Pi (3, I think) running arch linux.
As part of the app's start-up, it reads in a file line by line and stores each line to some custom struc...
Greenwiz29
Votes: 0
Answers: 1
reverse engineering (stack-smash) how to find out the address of the stack where the data that I entered into the program is written in the stack
So, my English is very bad, but I will try to explain my problem clearly(sorry about that).
I have a program in the С programming language:
#include <stdio.h>
#include <string.h>
void vul...

Snaky
Votes: 0
Answers: 2
How to use a buffer overflow to call another program?
I want to create a program exploit that calls testme.c to perform a buffer overflow operation which should call another program myname.c.
The code for the testme.c program:
#include <stdio.h>
#i...
Sn.S
Votes: 0
Answers: 0
Got 'stack smashing detected' after counting words in file (using C)
#include <stdio.h>
#include <stdlib.h>
#define SIZE 200
int main() {
FILE *input = fopen("word_list_final.txt", "r");
char buffer[SIZE];
int counter = 0;...
Luka Illich
Votes: 0
Answers: 1