forgot this patch file :-(
authorChristian Andreetta <satya@gentoo.org>
Mon, 15 Nov 2004 15:03:17 +0000 (15:03 +0000)
committerChristian Andreetta <satya@gentoo.org>
Mon, 15 Nov 2004 15:03:17 +0000 (15:03 +0000)
net-fs/samba/files/samba-3.0.8-lanman.patch [new file with mode: 0644]

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 (file)
index 0000000..958c25d
--- /dev/null
@@ -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;