RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1261107 - no talloc stackframe at ../source3/libsmb/clifsinfo.c:497, leaking memory
Summary: no talloc stackframe at ../source3/libsmb/clifsinfo.c:497, leaking memory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: samba
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andreas Schneider
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On: 1261080
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-08 15:15 UTC by Remi Collet
Modified: 2016-11-04 06:58 UTC (History)
12 users (show)

Fixed In Version: samba-4.4.4-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1261080
Environment:
Last Closed: 2016-11-04 06:58:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2468 0 normal SHIPPED_LIVE samba bug fix and enhancement update 2016-11-03 14:06:51 UTC
Samba Project 11177 0 None None None Never

Description Remi Collet 2015-09-08 15:15:00 UTC
+++ This bug was initially created as a clone of Bug #1261080 +++

With libsmbclient-4.1.17-1.fc21

Description of problem:
I work in a libsmbclient wrapper for PHP
https://github.com/eduardok/libsmbclient-php

Running the test suite I got this message.
no talloc stackframe at ../source3/libsmb/clifsinfo.c:497, leaking memory

This is raised when calling smbc_statvfs or smbc_fstatvfs.

Diggin in the libsmb source, in source3/libsmb/clifsinfo.c a call to talloc_tos is done, but no call to talloc_stackframe.

Diffing various version, I think this is fixed in 4.2 / 4.3

--- Additional comment from Remi Collet on 2015-09-08 10:27:04 EDT ---

I think RHEL-7 version is also affected.

--- Additional comment from Remi Collet on 2015-09-08 10:52:30 EDT ---

I confirm a rebuild of the F21 .src.rpm with the attached patch fix this issue.

Comment 2 Remi Collet 2015-09-08 15:16:01 UTC
Cloned for RHEL-7 as libsmbclient-4.1.12-23.el7_1 also affected.

Comment 4 Robin Hack 2016-02-22 11:43:38 UTC
QA_ACK+ for rhel7.3. SanityOnly.

Comment 6 Robin Hack 2016-07-27 08:16:31 UTC
Sanity Only!

Comment 8 errata-xmlrpc 2016-11-04 06:58:00 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-2468.html


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