patches/glibc/ports-2.13/660-debug-readlink_chk-readklinkat_chk.patch
changeset 2438 2ba5655f6297
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/ports-2.13/660-debug-readlink_chk-readklinkat_chk.patch	Tue May 03 00:19:56 2011 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +diff -dur glibc-cvs-2.9.orig/debug/readlink_chk.c glibc-cvs-2.9/debug/readlink_chk.c
     1.5 +--- glibc-cvs-2.9.orig/debug/readlink_chk.c	2005-03-01 01:41:15.000000000 +0100
     1.6 ++++ glibc-cvs-2.9/debug/readlink_chk.c	2009-06-01 10:59:37.000000000 +0200
     1.7 +@@ -25,7 +25,7 @@
     1.8 + 
     1.9 + 
    1.10 + ssize_t
    1.11 +-__readlink_chk (const char *path, void *buf, size_t len, size_t buflen)
    1.12 ++__readlink_chk (const char *path, char *buf, size_t len, size_t buflen)
    1.13 + {
    1.14 +   if (len > buflen)
    1.15 +     __chk_fail ();
    1.16 +diff -dur glibc-cvs-2.9.orig/debug/readlinkat_chk.c glibc-cvs-2.9/debug/readlinkat_chk.c
    1.17 +--- glibc-cvs-2.9.orig/debug/readlinkat_chk.c	2006-04-24 18:56:12.000000000 +0200
    1.18 ++++ glibc-cvs-2.9/debug/readlinkat_chk.c	2009-06-01 11:07:26.000000000 +0200
    1.19 +@@ -21,7 +21,7 @@
    1.20 + 
    1.21 + 
    1.22 + ssize_t
    1.23 +-__readlinkat_chk (int fd, const char *path, void *buf, size_t len,
    1.24 ++__readlinkat_chk (int fd, const char *path, char *buf, size_t len,
    1.25 + 		  size_t buflen)
    1.26 + {
    1.27 +   if (len > buflen)