Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 876923 - "if" condition always true - detected by Coverity
"if" condition always true - detected by Coverity
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd (Show other bugs)
6.4
Unspecified Unspecified
medium Severity low
: rc
: ---
Assigned To: Web Stack Team
Zbysek MRAZ
:
Depends On:
Blocks: 877001 886216
  Show dependency treegraph
 
Reported: 2012-11-15 05:11 EST by Ondrej Oprala
Modified: 2016-01-31 21:08 EST (History)
5 users (show)

See Also:
Fixed In Version: httpd-2.2.15-25.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 877001 (view as bug list)
Environment:
Last Closed: 2013-02-21 05:10:54 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
List of all defects added in httpd-2.2.15-24.el6 (167 bytes, text/plain)
2012-11-15 05:11 EST, Ondrej Oprala
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0512 normal SHIPPED_LIVE Low: httpd security, bug fix, and enhancement update 2013-02-20 16:29:30 EST

  None (edit)
Description Ondrej Oprala 2012-11-15 05:11:51 EST
Created attachment 645547 [details]
List of all defects added in httpd-2.2.15-24.el6

Description of problem:
/builddir/build/BUILD/httpd-2.2.15/support/rotatelogs.c:340: array_null: Comparing an array to null is not useful: "status->current.name".

Additional info:
The "if" condition consists of an address of a statically allocated array, which is never NULL, therefore the condition is never false.
Comment 2 Joe Orton 2012-11-15 05:41:39 EST
Thanks, fixed upstream.

http://svn.apache.org/viewvc?view=revision&revision=1409726

Candidate for inclusion if we respin.
Comment 11 errata-xmlrpc 2013-02-21 05:10:54 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0512.html

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