Bug 1395803 (rhel7-libcurl-unbounded-mem-issue)
Summary: | provide a create object API that manages the object references. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Alicja Kario <hkario> | |
Component: | nss | Assignee: | Bob Relyea <rrelyea> | |
Status: | CLOSED ERRATA | QA Contact: | Alicja Kario <hkario> | |
Severity: | high | Docs Contact: | Mirek Jahoda <mjahoda> | |
Priority: | high | |||
Version: | 7.3 | CC: | ccheney, charles.stanley, cww, dueno, hkario, jaskalnik, jch, john.haxby, kdudka, kengert, mgrepl, mjahoda, nkinder, nmavrogi, pandrade, rakesh.petkar, rmetrich, rrelyea, ryao, sandis.neilands, serge.savard, szidek, zhoujianxiong2 | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | nss-3.34.0-0.1.beta1.el7 | Doc Type: | Enhancement | |
Doc Text: |
`PK11_CreateManagedGenericObject()` has been added to *NSS* to prevent memory leaks in applications
The `PK11_DestroyGenericObject()` function does not destroy objects allocated by `PK11_CreateGenericObject()` properly, but some applications depend on a function for creating objects that persist after the use of the object. For this reason, the *Network Security Services* (NSS) libraries now include the `PK11_CreateManagedGenericObject()` function. If you create objects with `PK11_CreateManagedGenericObject()`, the `PK11_DestroyGenericObject()` function also properly destroys underlying associated objects. Applications, such as the *curl* utility, can now use `PK11_CreateManagedGenericObject()` to prevent memory leaks.
|
Story Points: | --- | |
Clone Of: | 1057388 | |||
: | 1510247 (view as bug list) | Environment: | ||
Last Closed: | 2018-04-10 09:23:57 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1057388, 1377248, 1420851, 1476743, 1510247 |
Description
Alicja Kario
2016-11-16 17:51:09 UTC
There are 2 fixes needed for this problem. The nsspem and nss. The nss portion needs an upstream patch as it changes the ABI semantics. Moving to 7.5 We better fix it for 7.5. I'll dev ack it . Fixed in nss-3.34.0-0.1.beta1.el7 The new api is PK11_CreateManagedObject. 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://access.redhat.com/errata/RHEA-2018:0679 |