Bug 134186 - rsaref-2.0-509: local variable used before set
Summary: rsaref-2.0-509: local variable used before set
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: All SuSE Linux 10.0
: P5 - None : Minor
Target Milestone: ---
Assignee: Philipp Thomas
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 15:04 UTC by David Binderman
Modified: 2006-03-27 16:02 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2005-11-17 15:04:59 UTC
I just tried to compile package rsaref-2.0-509 with the GNU C compiler.

It said

../source/r_enhanc.c:890: warning: "status" is used uninitialized in this function

The source code is

    if (status)
      break;

Suggest initialise local variable "status" before first use.
Comment 1 David Binderman 2006-03-24 21:12:32 UTC
(In reply to comment #0)
> I just tried to compile package rsaref-2.0-509 with the GNU C compiler.

This has been in status "new" for over three months.

I would like to clarify if this bug will still be new when 10.1
hits the shops.

Comment 2 Philipp Thomas 2006-03-27 16:02:35 UTC
Sorry, this somehow fell through the cracks.

The variable *is* initialized in the 'for' loop preceding the code you state. But
it's only initialized as long as inputLen is greater then 32. I've just fixed it.