# HG changeset patch # User Christian Urban # Date 1444045624 -3600 # Node ID cb308583d86c4ff81690a17bf4f578fd30a2b4a4 # Parent 4dff36e2bbc6e1c64cb775a2cbb0687ab506a596 updated diff -r 4dff36e2bbc6 -r cb308583d86c progs/C0.c --- a/progs/C0.c Mon Oct 05 12:25:47 2015 +0100 +++ b/progs/C0.c Mon Oct 05 12:47:04 2015 +0100 @@ -4,7 +4,7 @@ void foo (char *bar) { long my_long = 101010101; // in hex: \xB5\x4A\x05\x06 - char buffer[28]; + char buffer[28]; printf("my_long value = %lu\n", my_long); strcpy(buffer, bar); @@ -13,6 +13,7 @@ int main (int argc, char **argv) { - foo("my string is too long !!!!! \x15\xcd\x5d\x07"); + foo("my string is too long !!!!!"); + //foo("my string is too long !!!!! \x15\xcd\x5d\x07"); return 0; -} \ No newline at end of file +} diff -r 4dff36e2bbc6 -r cb308583d86c progs/README --- a/progs/README Mon Oct 05 12:25:47 2015 +0100 +++ b/progs/README Mon Oct 05 12:47:04 2015 +0100 @@ -2,7 +2,9 @@ Start "Linux Hacking" password is "test" +The programs are under + cu$> test/app-material/progs