Bug 2945 - rpcclient/cmd_spoolss.c: "ctr" is used before its value is set
rpcclient/cmd_spoolss.c: "ctr" is used before its value is set
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.20
SGI IRIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-01 12:34 UTC by Jason Mader
Modified: 2005-08-24 10:15 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 2005-08-01 12:34:33 UTC
cc-1551 cc: WARNING File = rpcclient/cmd_spoolss.c, Line = 2242
  The variable "ctr" is used before its value is set.

        for (i=0; i < ctr.num_values; i++) {
                      ^
Comment 1 Gerald (Jerry) Carter 2005-08-01 13:38:19 UTC
Fixed.  Also found in libads/ldap_printer.c
Comment 2 Gerald (Jerry) Carter 2005-08-24 10:15:32 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.