Bug 136468 - local variable used before set
Summary: local variable used before set
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: freeradius
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-20 10:07 UTC by David Binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-07 10:00:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2004-10-20 10:07:59 UTC
Description of problem:

I just tried to compile package freeradius-1.0.0-3 from package
Redhat Fedora Core 3 Test 3.

The compiler said

rlm_ldap.c(452): remark #592: variable "flags" is used before its
value is set

The source code is

          dict_addattr(group_name, 0, PW_TYPE_STRING, -1, flags);

Suggest init flags before first use.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Thomas Woerner 2006-06-07 10:00:39 UTC
Fixed in rawhide in rpm freeradius-1.1.2-1 or newer.


Note You need to log in before you can comment on or make changes to this bug.