AVR C Runtime Library - Bugs: bug #32702, Realloc can reduce size of...
You are not allowed to post comments on this tracker with your current authentication level.
bug #32702: Realloc can reduce size of location less than (sizeof(struct __freelist) - sizeof(size_t))
Submitter: | Vinnipuh <vinni> | ||
Submitted: | Mon 07 Mar 2011 11:10:22 PM UTC | ||
Category: | Library | Severity: | 3 - Normal |
Priority: | 9 - Immediate | Item Group: | libc code |
Status: | None | Assigned to: | joerg_wunsch |
Percent Complete: | 0% | Open/Closed: | Open |
Release: | 1.7.* | Fixed Release: | None |
Sun 10 Nov 2013 11:20:36 AM UTC, comment #3: |
Thomas R. <glglgl> |
Sun 10 Nov 2013 11:06:30 AM UTC, comment #2: It seems this is already in the code and thus can be closed, can't it? |
Thomas R. <glglgl> |
Mon 26 Sep 2011 03:25:26 PM UTC, comment #1: Joerg, this one is more in your area.... |
Eric Weddington <arcanum> |
Mon 07 Mar 2011 11:10:22 PM UTC, original submission:
|
Vinnipuh <vinni> |
Depends on the following items: None found
Items that depend on this one: None found
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2012-11-16 | arcanum | Priority | 5 - Normal | 9 - Immediate | |
2011-09-26 | arcanum | Assigned to | None | joerg_wunsch | |
2011-03-09 | vinni | Attached File | - | Added bug32702.diff, #22869 |
Powered by Savane 3.13-4448.
Corresponding source code
I am sorry for the noise.
The check is indeed in malloc(), but not in realloc().
So this one would be great to be added as well.
Maybe even the len == 0 check in my bug #40535 could be integrated here as well...