Bug 2945 - rpcclient/cmd_spoolss.c: "ctr" is used before its value is set
Summary: rpcclient/cmd_spoolss.c: "ctr" is used before its value is set
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.20
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-08-01 12:34 UTC by Jason Mader (mail bounces back)
Modified: 2005-08-24 10:15 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 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 (dead mail address) 2005-08-01 13:38:19 UTC
Fixed.  Also found in libads/ldap_printer.c
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:15:32 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.