Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 882188 - samba4-libs: yyin symbol collision
samba4-libs: yyin symbol collision
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: samba4 (Show other bugs)
6.3
Unspecified Unspecified
medium Severity unspecified
: rc
: ---
Assigned To: Andreas Schneider
Namita Soman
:
Depends On:
Blocks: 882173
  Show dependency treegraph
 
Reported: 2012-11-30 06:04 EST by Florian Weimer
Modified: 2013-02-21 03:46 EST (History)
1 user (show)

See Also:
Fixed In Version: samba4-4.0.0-24.el6.rc1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-02-21 03:46:21 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0506 normal SHIPPED_LIVE Moderate: samba4 security, bug fix and enhancement update 2013-02-20 16:30:25 EST

  None (edit)
Description Florian Weimer 2012-11-30 06:04:37 EST
Two DSOs define "yyin" and other flex-related symbols:

 /usr/lib64/libdcerpc_samr.so.0.0.1     | samba4-libs-4.0.0-23.alpha11.el6.x86_64
 /usr/lib64/libdcerpc.so.0.0.1          | samba4-libs-4.0.0-23.alpha11.el6.x86_64

This can lead to symbol collisions and hard-to-track-down bugs.  These symbols should be mangled or hidden.

This might already have been fixed upstream because I don't see it in F18 anymore.
Comment 2 Andreas Schneider 2012-11-30 07:10:27 EST
yyin and yyout are defined in the in-source heimdal kerberos. In RHEL 6.4 we build with MIT Kerberos. So there are no such symbols.
Comment 3 Andreas Schneider 2012-11-30 07:17:14 EST
Also all heimdal 'in-source' libraries have version scripts to export only public symbols. This is fixed with the rebase!
Comment 5 Namita Soman 2013-01-28 21:47:56 EST
please provide steps to verify
Comment 6 Florian Weimer 2013-01-29 04:17:48 EST
(In reply to comment #5)
> please provide steps to verify

You can check the DSOs with:

$ readelf -s libdcerpc.so.0.0.1 | grep yy

If this command shows no output, the symbols are indeed gone.
Comment 7 Namita Soman 2013-01-29 06:21:19 EST
Thanks for the steps!

Verified using them:
readelf -s /usr/lib64/libdcerpc.so.0.0.1 | grep yy
<Nothing listed>
Comment 8 errata-xmlrpc 2013-02-21 03:46:21 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0506.html

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