Bug 2315 - rpc_server/srv_lsa_nt.c: "info" is used before its value is set
Summary: rpc_server/srv_lsa_nt.c: "info" is used before its value is set
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.11
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-05 14:24 UTC by Jason Mader (mail bounces back)
Modified: 2005-08-24 10:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 2005-02-05 14:24:40 UTC
Compiling rpc_server/srv_lsa_nt.c
cc-1551 cc: WARNING File = rpc_server/srv_lsa_nt.c, Line = 971
  The variable "info" is used before its value is set.

        if ( is_privileged_sid( &info->sid ) )
                                 ^
Comment 1 Tim Potter 2005-02-05 17:55:39 UTC
Fixed - thanks.  I'm surprised this didn't cause a crash during testing!
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:21:15 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.