Hello, I think I found an overflow bug. I got the follow C program:

#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[])
{
    char a[10];
    int i;

    strcpy(a, argv[1]);

  return 0;
}

Compiling with: gcc program.c -o program
And running: program `perl -e 'print "a" x 24'`

The terminal loses the control, entering into a infinite buckle, and
saying: (a variable number here):    transferring control: ./programm


I'm on: $uname -a
Linux cosmo 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64
GNU/Linux


-------------
Greetings from Argentina.
Ernesto Messina.

Reply via email to