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 | 1e417607af0fec3df7259cf99c4d86289654320e (patch) | |
tree | 1c69384aaca7a281262f071512481e9c6eb35009 /net-fs | |
parent | remove old version (diff) | |
download | historical-1e417607af0fec3df7259cf99c4d86289654320e.tar.gz historical-1e417607af0fec3df7259cf99c4d86289654320e.tar.bz2 historical-1e417607af0fec3df7259cf99c4d86289654320e.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; |