| Summary: | bash 4.1.2-33.el6_7.1 memory leak | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Matt Kandoll <voidmaterial> |
| Component: | bash | Assignee: | Siteshwar Vashisht <svashisht> |
| Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.7 | CC: | sobolev |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-21 05:47:53 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: | |
|
Description
Matt Kandoll
2016-03-25 23:39:35 UTC
Fixed in RHEL7 (BZ#1172214) - "Bash made a system call to allocate memory twice for the same purpose, which caused Bash to leak memory." Patch (really stupid bug in bash 4.0-4.2): --- bash-4.1/subst.c 2015-04-07 10:00:00.482931289 +0900 +++ bash-4.1/subst.c 2015-04-07 10:01:28.258111134 +0900 @@ -7039,8 +7039,6 @@ ret = alloc_word_desc (); ret->word = temp1; - ret = alloc_word_desc (); - ret->word = temp1; if (temp1 && QUOTED_NULL (temp1) && (quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES))) ret->flags |= W_QUOTED|W_HASQUOTEDNULL; return ret; But RHEL6 still needs the patches applied. Fixed in 4.1.2-35 (#1207042) Maybe change status to resolved/fixed? *** This bug has been marked as a duplicate of bug 1207042 *** |