Skip to content

zlib-ng now unusable with ElectricFence #1809

Closed
@lanurmi

Description

Zlib-ng has become unusable with ElectricFence. I encountered this on Fedora Rawhide, when running something utilizing zlib-ng. Luckily, the same problem can be seen with the gh1235 test:

$ ef ./test/gh1235

  Electric Fence 2.2.2 Copyright (C) 1987-1999 Bruce Perens <[email protected]>
bytes =  0, deflateBound = 23, total_out = 23

ElectricFence Aborting: free(1589880): address not from malloc().
/usr/bin/ef: line 20: 2800494 Illegal instruction     (core dumped) ( export LD_PRELOAD=libefence.so.0.0; exec "$@" )

Git-bisecting reveals that this happens since 42db8b8.

Whether it is zlib-ng's or ElectricFence's fault is a question can be debated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CompatibilityAPI/ABI Compatibility issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions