| Summary: | Any throw statement causes memory corruption | ||
|---|---|---|---|
| Product: | uClibc++ | Reporter: | Ivan Kold <pixus.ru> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | pixus.ru, uclibc-cvs |
| Priority: | P5 | ||
| Version: | 0.2.5 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | Proposed patch v1 | ||
|
Description
Ivan Kold
2016-03-03 20:32:43 UTC
Created attachment 6376 [details]
Proposed patch v1
Attached patch adds definition of the struct __cxa_refcounted_exception,
functions __get_refcounted_exception_header_from_obj and __get_refcounted_exception_header_from_ue, changes functions __cxa_allocate_exception and __cxa_free_exception to allocate/free enough memory for __cxa_refcounted_exception instead of __cxa_exception.
2b58f77ee27c60842054fd0e5dd67f5d00e89eb8 some time ago should have fixed this. |