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 1014351 - Coverity fixes - 12023, 12024, and 12025
Summary: Coverity fixes - 12023, 12024, and 12025
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: Sankar Ramalingam
URL:
Whiteboard:
Depends On:
Blocks: 1061410
TreeView+ depends on / blocked
 
Reported: 2013-10-01 19:16 UTC by Rich Megginson
Modified: 2020-09-13 20:47 UTC (History)
3 users (show)

Fixed In Version: 389-ds-base-1.2.11.15-34.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 07:51:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 877 0 None None None 2020-09-13 20:47:57 UTC
Red Hat Product Errata RHBA-2014:1385 0 normal SHIPPED_LIVE 389-ds-base bug fix and enhancement update 2014-10-14 01:27:42 UTC

Description Rich Megginson 2013-10-01 19:16:15 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47540

fix newer coverity issues 12023, 12024, and 12025

ldclt.c: 12023 Ignoring number of bytes read
The number of bytes copied into the buffer can be smaller than the requested number and the buffer can potentially be accessed out of range.
In basicInit: Value returned from a function and indicating the number of bytes read is ignored.

roles_cache.c: 12024 Resource leak
The system resource will not be reclaimed and reused, reducing the future availability of the resource.
In roles_cache_create_object_from_entry: Leak of memory or pointers to system resources

dblayer.c: 12025 Wrong sizeof argument
The wrong sizeof value is used in an expression or as argument to a function. The result is an incorrect value that may cause unexpected program behaviors.
In read_metadata: The sizeof operator is invoked on the wrong argument

Comment 3 Sankar Ramalingam 2014-08-19 14:02:02 UTC
Request dev to mark the bug as Verified from Coverity reports.

Comment 4 Noriko Hosoi 2014-08-19 14:54:46 UTC
Covscan passed with no defect reports (except one false positive).
http://cov01.lab.eng.brq.redhat.com/covscanhub/waiving/et_mapping/6248/

Please mark VERIFIED.

Comment 5 Sankar Ramalingam 2014-08-19 17:42:08 UTC
As per Noriko's previous comment, marking the bug as Verified.

Comment 6 errata-xmlrpc 2014-10-14 07:51:42 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.

http://rhn.redhat.com/errata/RHBA-2014-1385.html


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