Welcome to the CHICKEN Scheme pasting service

more crap code added by zaniyah on Mon Oct 13 18:45:12 2014

$ cat foo.c
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

int
main(int argc, char *argv[])
{
    int i = 0;
    int length = 0;

    /* Segfault occurs here */
    length = strlen(argv[0]);

    for(i=0; i<(length-1); i++) {
        argv[0][i] = 'a';
    }
    argv[0][length - 1] = '\0';
    exit(EXIT_SUCCESS);
}

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What does `(string? 42)' produce?
Visually impaired? Let me spell it for you (wav file) download WAV