3.0.1rcX, potential corruption on 64-bit platforms

Andy Polyakov appro at fy.chalmers.se
Thu Dec 11 10:27:40 GMT 2003


--- nsswitch/wins.c.orig	2003-09-08 18:04:35.000000000 +0200
+++ nsswitch/wins.c	2003-12-11 09:18:24.000000000 +0100
@@ -265,7 +265,7 @@
    are the pointers passed in by the C library to the _nss_*_*
    functions. */
 
-static char *get_static(char **buffer, int *buflen, int len)
+static char *get_static(char **buffer, size_t *buflen, int len)
 {
 	char *result;


More information about the samba-technical mailing list