Bug 2057 - source/smbd/lanman.c compile warning fixes
Summary: source/smbd/lanman.c compile warning fixes
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.4
Hardware: All Linux
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-18 07:17 UTC by Lars Müller
Modified: 2005-08-24 10:22 UTC (History)
0 users

See Also:


Attachments
Proposed fix for the uninitialized service numbers (868 bytes, patch)
2004-11-18 07:18 UTC, Lars Müller
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Müller 2004-11-18 07:17:34 UTC
At several possitions service number is uninitialized in source/smbd/lanman.c 
This is a result of svn checkin 3049.
Comment 1 Lars Müller 2004-11-18 07:18:13 UTC
Created attachment 789 [details]
Proposed fix for the uninitialized service numbers
Comment 2 Volker Lendecke 2004-11-18 08:13:58 UTC
Revision 3848. Lars, I only applied your patch partially, please revisit &
possible reopen the bug.

Volker
Comment 3 Lars Müller 2004-11-18 09:09:51 UTC
You're right Volker.  api_PrintJobInfo() already has an initialized snum by an
if statement some line above my 'fix'. Thanks.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:22:44 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.