The Samba-Bugzilla – Attachment 789 Details for
Bug 2057
source/smbd/lanman.c compile warning fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix for the uninitialized service numbers
lanman.c.diff (text/plain), 868 bytes, created by
Lars Müller
on 2004-11-18 07:18:13 UTC
(
hide
)
Description:
Proposed fix for the uninitialized service numbers
Filename:
MIME Type:
Creator:
Lars Müller
Created:
2004-11-18 07:18:13 UTC
Size:
868 bytes
patch
obsolete
>Author: Lars Mueller <lmuelle at SuSE dot de> >Subject: Ensure to initialize snum >Bugzilla: bugzilla.Samba.org #2057 > >--- samba-3.0.8/source/smbd/lanman.c >+++ samba-3.0.8/source/smbd/lanman.c 2004-11-08 18:05:42 >@@ -2143,6 +2143,12 @@ > goto out; > } > >+ snum = lp_servicenumber( sharename); >+ if (snum == -1) { >+ errcode = NERR_DestNotFound; >+ goto out; >+ } >+ > errcode = NERR_notsupported; > > switch (function) { >@@ -2280,6 +2286,12 @@ > goto out; > } > >+ snum = lp_servicenumber( sharename); >+ if (snum == -1) { >+ errcode = NERR_DestNotFound; >+ goto out; >+ } >+ > errcode = NERR_notsupported; > > switch (function) { >@@ -2962,6 +2974,7 @@ > if(!rap_to_pjobid(SVAL(p,0), sharename, &jobid)) > return False; > >+ snum = lp_servicenumber( sharename); > if (snum < 0 || !VALID_SNUM(snum)) return(False); > > count = print_queue_status(snum,&queue,&status);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2057
: 789