svn commit: samba r10196 - in trunk/source: client libsmb modules printing utils

Stefan (metze) Metzmacher metze at samba.org
Tue Sep 13 06:59:09 GMT 2005


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

jra at samba.org schrieb:
> Changeset:
> Modified: trunk/source/client/smbspool.c
> ===================================================================
> --- trunk/source/client/smbspool.c	2005-09-13 05:39:00 UTC (rev 10195)
> +++ trunk/source/client/smbspool.c	2005-09-13 06:32:42 UTC (rev 10196)
> @@ -70,7 +70,10 @@
>    FILE		*fp;		/* File to print */
>    int		status=0;		/* Status of LPD job */
>    struct cli_state *cli;	/* SMB interface */
> +  char null_str[0];
>  
> +  null_str[0] = '\0';
> +

shouldn't that be

> +  char null_str[1];

- --
metze

Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJni8m70gjA5TCD8RArAIAJ4qXbaCMesvFupQNy4iXlAA+wPhGACfSuRw
XdN5OJgvtRIBbgosxlUcW+U=
=t662
-----END PGP SIGNATURE-----


More information about the samba-cvs mailing list