Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 162372 - 'c[1]' is used uninitialized in this function
'c[1]' is used uninitialized in this function
Product: Fedora
Classification: Fedora
Component: lv (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Akira TAGOH
Depends On:
  Show dependency treegraph
Reported: 2005-07-03 08:06 EDT by David Binderman
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 4.51-6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-11 01:15:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Binderman 2005-07-03 08:06:43 EDT
Description of problem:

I just tried to compile package lv-4.51-5 from Redhat
Fedora Core development tree with the gcc 4.0.0 compiler and
the compiler flag -Wall.

The compiler said

raw.c:45: warning: 'c[1]' is used uninitialized in this function

The source code is

      DecodeAddChar( ASCII, c, 0 );

I agree with the compiler. Suggest initialise all of local variable "c"
before first use.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Akira TAGOH 2005-07-11 01:15:39 EDT
Fixed in 4.51-6

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