774e30e PR#6075: avoid using unsafe C library functions (strcpy, strcat, sprintf).

Authored and Committed by Xavier Leroy 10 years ago
51 files changed. 516 lines added. 606 lines removed.
Changes
file modified
+5 -0
byterun/alloc.h
file modified
+1 -0
byterun/callback.c
file modified
+3 -2
byterun/config.h
file modified
+29 -27
byterun/dynlink.c
file modified
+1 -3
byterun/floats.c
file modified
+5 -43
byterun/hash.c
file modified
+1 -9
byterun/instrtrace.c
file modified
+9 -8
byterun/intern.c
file modified
+2 -1
byterun/interp.c
file modified
+0 -16
byterun/ints.c
file modified
+67 -151
byterun/io.c
file modified
+0 -18
byterun/io.h
file modified
+0 -7
byterun/lexing.c
file modified
+1 -1
byterun/memory.c
file modified
+0 -8
byterun/memory.h
file modified
+0 -1
byterun/misc.c
file modified
+38 -0
byterun/misc.h
file modified
+14 -2
byterun/parsing.c
file modified
+1 -1
byterun/printexc.c
file modified
+2 -1
byterun/startup.c
file modified
+2 -3
byterun/str.c
file modified
+93 -31
byterun/sys.c
file modified
+9 -9
byterun/unix.c
file modified
+23 -33
byterun/win32.c
file modified
+73 -48
config/auto-aux/int64align.c
file modified
+14 -4
config/auto-aux/sizes.c
file modified
+3 -2
configure
file modified
+57 -93
otherlibs/bigarray/bigarray_stubs.c
file modified
+26 -44
otherlibs/graph/open.c
file modified
+1 -2
otherlibs/unix/access.c
file modified
+1 -1
otherlibs/unix/chdir.c
file modified
+1 -1
otherlibs/unix/chmod.c
file modified
+1 -1
otherlibs/unix/chown.c
file modified
+1 -1
otherlibs/unix/chroot.c
file modified
+1 -1
otherlibs/unix/getaddrinfo.c
file modified
+5 -9
otherlibs/unix/gethost.c
file modified
+1 -1
otherlibs/unix/link.c
file modified
+2 -2
otherlibs/unix/mkdir.c
file modified
+1 -1
otherlibs/unix/mkfifo.c
file modified
+2 -2
otherlibs/unix/open.c
file modified
+2 -1
otherlibs/unix/opendir.c
file modified
+1 -1
otherlibs/unix/readlink.c
file modified
+1 -1
otherlibs/unix/rename.c
file modified
+2 -2
otherlibs/unix/rmdir.c
file modified
+1 -1
otherlibs/unix/stat.c
file modified
+4 -4
otherlibs/unix/symlink.c
file modified
+2 -2
otherlibs/unix/truncate.c
file modified
+2 -2
otherlibs/unix/unlink.c
file modified
+1 -1
otherlibs/unix/utimes.c
file modified
+2 -2
otherlibs/win32graph/open.c
file modified
+2 -1
    PR#6075: avoid using unsafe   C library functions (strcpy, strcat, sprintf).
    An ISO C99-compliant C compiler and standard library is now assumed.
    (Plus special exceptions for MSVC.)  In particular, emulation code for
    64-bit integer arithmetic was removed, the C compiler must support a
    64-bit integer type.
    
    
    git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14607 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
    
        
file modified
+5 -0
file modified
+1 -0
file modified
+3 -2
file modified
+29 -27
file modified
+1 -3
file modified
+5 -43
file modified
+1 -9
file modified
+9 -8
file modified
+2 -1
file modified
+0 -16
file modified
+67 -151
file modified
+0 -18
file modified
+0 -7
file modified
+1 -1
file modified
+0 -8
file modified
+0 -1
file modified
+38 -0
file modified
+14 -2
file modified
+1 -1
file modified
+2 -1
file modified
+2 -3
file modified
+93 -31
file modified
+9 -9
file modified
+23 -33
file modified
+73 -48
file modified
+14 -4
file modified
+3 -2
file modified
+57 -93
file modified
+1 -2
file modified
+1 -1
file modified
+1 -1
file modified
+1 -1
file modified
+1 -1
file modified
+1 -1
file modified
+5 -9
file modified
+1 -1
file modified
+2 -2
file modified
+1 -1
file modified
+2 -2
file modified
+2 -1
file modified
+1 -1
file modified
+1 -1
file modified
+2 -2
file modified
+1 -1
file modified
+4 -4
file modified
+2 -2
file modified
+2 -2
file modified
+1 -1
file modified
+2 -2
file modified
+2 -1