updated
authorChristian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 05 Oct 2015 12:47:04 +0100
changeset 393 cb308583d86c
parent 392 4dff36e2bbc6
child 394 ea1ee786d5a7
updated
progs/C0.c
progs/README
--- 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
+}
--- 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