Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 155824 - printf problems + local variable used before set
printf problems + local variable used before set
Product: Fedora
Classification: Fedora
Component: libsepol (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-04-24 04:53 EDT by David Binderman
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-20 03:44:07 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-04-24 04:53:25 EDT
Description of problem:

I just tried to compile libsepol-1.5.5-1 from Redhat
Fedora Core development tree with the most excellent Intel C

The compiler said


genbools.c(199): warning #267: the format string requires additional arguments

The source code is

	__sepol_debug_printf("%s:  Error while re-evaluating conditionals: %s\n",

Two %s specifiers, only one trailing parameter. Suggest code rework.


hierarchy.c(294): remark #592: variable "eb" is used before its value is set

The source code is

	if (ebitmap_or(eb, &r->types, &rp->types)) {

Suggest initialise local variable "eb" before first use.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Daniel Walsh 2005-04-25 15:38:59 EDT
Fixed in libsepol-1.5.5-2
Comment 2 Marius Andreiana 2005-08-20 03:44:07 EDT
libsepol-1.5.10-1.1 is in FC4

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