Bug 232693 - Bad cast in ElectricFence cause mmap to fail
Bad cast in ElectricFence cause mmap to fail
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ElectricFence (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Petr Machata
: Reopened
Depends On:
  Show dependency treegraph
Reported: 2007-03-16 13:40 EDT by George Beshers
Modified: 2013-03-14 08:52 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-03-14 08:52:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to remove bad casts (614 bytes, patch)
2007-03-16 13:40 EDT, George Beshers
no flags Details | Diff

  None (edit)
Description George Beshers 2007-03-16 13:40:19 EDT
Description of problem:
  Wrong cast causes mmap to fail when it shouldn't.

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

How reproducible:

Steps to Reproduce:
1. Try a malloc larger than 4Gbyte.
Actual results:

Expected results:

Additional info:
Comment 1 George Beshers 2007-03-16 13:40:19 EDT
Created attachment 150260 [details]
patch to remove bad casts
Comment 2 Petr Machata 2007-03-16 15:11:08 EDT
Huh, I'd like to know why the cast was introduced at all.  Possibly some obscure
OS with wrong mmap decl...
Anyway, I applied the patch, fixed package is in rawhide.  Thanks.
Comment 3 Petr Machata 2007-03-16 15:11:47 EDT
Hmm, why not check which of the two bugs I'm closing?
Comment 4 Andrew Cagney 2007-08-16 13:16:38 EDT
Pushing to RHEL 5.2; have patch from upstream and tested in rawhide.
Comment 5 RHEL Product and Program Management 2007-12-03 15:41:39 EST
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release.  This request will
be reviewed for a future Red Hat Enterprise Linux release.
Comment 7 Matt Newsome 2013-03-14 08:52:31 EDT
As Red Hat Enterprise Linux 5 has now entered Production Phase 2, this bug has been re-evaluated with the conclusion that a fix would not be appropriate at this time. Consequently this bug is being closed. Please contact your Red Hat representative if a review is required.

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