Bug 1480309 - vifm: Accidentally interposes reallocarray
vifm: Accidentally interposes reallocarray
Status: NEW
Product: Fedora
Classification: Fedora
Component: vifm (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ben Boeckel
Fedora Extras Quality Assurance
Depends On:
Blocks: Fedora27GlibcInterpositionTracker
  Show dependency treegraph
Reported: 2017-08-10 12:14 EDT by Florian Weimer
Modified: 2017-08-15 05:28 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
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 Florian Weimer 2017-08-10 12:14:18 EDT
vifm contains its own implementation of the reallocarray function, in src/compat/reallocarray.c.  This definition overrides the implementation in glibc (provided since glibc 2.26).

I don't know which fix upstream prefers.  Perhaps add a configure check for reallocarray, and then check for HAVE_REALLOCARRAY in the implementation and do not compile anything if it is defined.

For Fedora, we could just drop src/compat/reallocarray.c from the list of source files in src/Makefile.am.
Comment 1 Jan Kurik 2017-08-15 05:28:07 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

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