[SCM] UNNAMED PROJECT branch, master, updated. debian/4.4-13-30-gc8f6f09

Bastien ROUCARIÈS roucaries.bastien at gmail.com
Sun Jun 26 16:15:12 UTC 2011


The following commit has been merged in the master branch:
commit 73652381064a98118d679e6699809deb419d5675
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Wed Jun 15 16:05:19 2011 +0200

    Fix a buffer overrun in one of the example file

diff --git a/eg/fd/fd.c b/eg/fd/fd.c
index 44a2f18..10d9b98 100644
--- a/eg/fd/fd.c
+++ b/eg/fd/fd.c
@@ -26,7 +26,7 @@ FCALLSCSUB1(cd,CD,cd, PSTRING)
 #define FD(A1)               CCALLSFSUB1(FD,fd, PSTRING, A1)
 
 main() 
-{static char i[] = "happy     "; static char ii[] = "happy      "; 
+{static char i[] = "happy         "; static char ii[] = "happy          "; 
  FD(ii); printf("MAIN: FD(i=%s) returns with i=%s.\n",i,ii);
  return EXIT_SUCCESS;
 }

-- 
UNNAMED PROJECT



More information about the debian-science-commits mailing list