Bug 71039
| Summary: | Crash in regcomp() | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Havoc Pennington <hp> |
| Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | CC: | fweimer, rgorosito |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-08-11 22:13:21 UTC | Type: | --- |
| 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: | 67217 | ||
Bug #66794 is the mc bug. *** Bug 66794 has been marked as a duplicate of this bug. *** Should be fixed in glibc-2.2.90-19 and later. |
The following test program will abort in free() if run with MALLOC_CHECK_=2 using glibc-2.2.90-17. I believe this is the cause of the "mcedit crashes on startup" bug that has been reported several times. #include <sys/types.h> #include <regex.h> #include <stdlib.h> int main (int argc, char **argv) { regex_t r; regcomp (&r, "^@! */.*/(k|ba||pdk|z)sh", REG_EXTENDED); return 0; }