Bug 159724 - undefined C code
undefined C code
Product: Fedora
Classification: Fedora
Component: mod_jk (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Vivek Lakshmanan
Depends On:
  Show dependency treegraph
Reported: 2005-06-07 10:20 EDT by David Binderman
Modified: 2008-04-03 12:32 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-04-03 12:32:49 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-06-07 10:20:34 EDT
Description of problem:

I just tried to compile package mod_jk-1.2.6-3jpp_4fc from Redhat
Fedora Core development tree with the usual GNU C compiler.

The compiler said

jk_msg_buff.c:55: warning: operation on `i' may be undefined

The source code is

        printf("%s %d/%d/%d %x %x %x %x - %x %x %x %x - %x %x %x %x - %x %x %x
%x\n", err, msg->pos, msg->len, msg->maxlen,

Clearly broken code. There is no defined ordering for the evaluation
of parameters in a function call, not even left to right.

Suggest code rework.


jk_msg_buff.c:66: warning: operation on `i' may be undefined


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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Bug Zapper 2008-04-03 12:12:02 EDT
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
Comment 2 Vivek Lakshmanan 2008-04-03 12:32:49 EDT
Mod_jk was taken out from core around FC-6 AFAICR and has not made its way back
in since. I am closing this bug NOTABUG for lack of a better status. 

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