diff options
author | Christian Andreetta <satya@gentoo.org> | 2004-11-15 15:03:17 +0000 |
---|---|---|
committer | Christian Andreetta <satya@gentoo.org> | 2004-11-15 15:03:17 +0000 |
commit | 771c44b3c83b8e42d7080cde196ab818448b52e4 (patch) | |
tree | b582509d2b60751e9a9a751f9315225865ffdf79 /net-fs | |
parent | remove old version (Manifest recommit) (diff) | |
download | gentoo-2-771c44b3c83b8e42d7080cde196ab818448b52e4.tar.gz gentoo-2-771c44b3c83b8e42d7080cde196ab818448b52e4.tar.bz2 gentoo-2-771c44b3c83b8e42d7080cde196ab818448b52e4.zip |
forgot this patch file :-(
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/samba/files/samba-3.0.8-lanman.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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; |