Bug 772306 - [enh] ElectricFence does not support malloc_usable_size()
Summary: [enh] ElectricFence does not support malloc_usable_size()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ElectricFence
Version: 16
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Petr Machata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-06 18:47 UTC by Ian Collier
Modified: 2015-05-05 01:36 UTC (History)
2 users (show)

Fixed In Version: ElectricFence-2.2.2-33.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-01 00:51:34 UTC
Type: ---


Attachments (Terms of Use)

Description Ian Collier 2012-01-06 18:47:37 UTC
Description of problem:

If a program calls malloc_usable_size() then when it's linked against libefence the function may return 0, or segfault if EF_PROTECT_BELOW is defined.

This isn't necessarily important, except some glibc calls use it behind the scenes, and:

$ ef /bin/sh

  Electric Fence 2.2.2 Copyright (C) 1987-1999 Bruce Perens <bruce>
sh: nss_nis/nis-netgrp.c:75: _nss_nis_setnetgrent: Assertion `malloc_usable_size (netgrp->data) >= len + 1' failed.

Version-Release number of selected component (if applicable):
ElectricFence-2.2.2-32.fc16.x86_64
glibc-2.14.90-14.x86_64

Comment 1 Fedora Update System 2012-03-12 22:27:19 UTC
ElectricFence-2.2.2-33.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ElectricFence-2.2.2-33.fc16

Comment 2 Fedora Update System 2012-03-15 02:26:17 UTC
Package ElectricFence-2.2.2-33.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ElectricFence-2.2.2-33.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-3738/ElectricFence-2.2.2-33.fc16
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-05-01 00:51:34 UTC
ElectricFence-2.2.2-33.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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