From: Christian Andreetta Date: Mon, 15 Nov 2004 15:03:17 +0000 (+0000) Subject: forgot this patch file :-( X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e417607af0fec3df7259cf99c4d86289654320e;p=gentoo.git forgot this patch file :-( --- diff --git a/net-fs/samba/files/samba-3.0.8-lanman.patch b/net-fs/samba/files/samba-3.0.8-lanman.patch new file mode 100644 index 000000000000..958c25df039f --- /dev/null +++ b/net-fs/samba/files/samba-3.0.8-lanman.patch @@ -0,0 +1,16 @@ +Index: smbd/lanman.c +=================================================================== +--- source/smbd/lanman.c (revision 3681) ++++ source/smbd/lanman.c (revision 3862) +@@ -2267,6 +2267,12 @@ + return False; + *rparam_len = 4; + *rparam = REALLOC(*rparam,*rparam_len); ++ ++ if ( (snum = lp_servicenumber(sharename)) == -1 ) { ++ DEBUG(0,("api_PrintJobInfo: unable to get service number from sharename [%s]\n", ++ sharename)); ++ return False; ++ } + + *rdata_len = 0;