3.0.1rcX, potential corruption on 64-bit platforms

Gerald (Jerry) Carter jerry at samba.org
Thu Dec 11 15:34:46 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Polyakov wrote:
| --- 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;

Got it.  Thanks.


- --
cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard            ------------------------- http://www.hp.com
~ SAMBA Team                 ---------------------- http://www.samba.org
~ GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
~ "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/2I6WIR7qMdg1EfYRAlOGAKC9MdzXcEjs5gQN2iD/wX3Mz8IvrwCfdAOT
jN3iXNMXO6gGTMriTuJo+wU=
=WU4u
-----END PGP SIGNATURE-----



More information about the samba-technical mailing list