[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bugs #11684] realloc overwrites first to bytes of memory
From: |
Joerg Wunsch |
Subject: |
[avr-libc-dev] [bugs #11684] realloc overwrites first to bytes of memory block when shrinking |
Date: |
Fri, 21 Jan 2005 15:09:03 +0000 |
User-agent: |
Mozilla/5.0 Galeon/1.2.13 (X11; FreeBSD i386; U;) Gecko/0 |
This is an automated notification sent by Savannah.
It relates to:
bugs #11684, project AVR C Runtime Library
==============================================================================
LATEST MODIFICATIONS of bugs #11684:
==============================================================================
Posted by: Joerg Wunsch <joerg_wunsch>
Posted on: 2005-01-21 15:09 (Europe/Berlin)
_______________________________________________________
Severity: 5 - Average -> 7 - Major
Priority: 5 - Normal -> Immediate
Assigned to: None -> joerg_wunsch
==============================================================================
OVERVIEW of bugs #11684:
==============================================================================
URL:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11684>
Summary: realloc overwrites first to bytes of memory block
when shrinking
Project: AVR C Runtime Library
Submitted by: None
Submitted on: Fri 01/21/05 at 14:53
Category: None
Severity: 7 - Major
Priority: Immediate
Item Group: None
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: joerg_wunsch
Originator Email: address@hidden
Open/Closed: Open
_______________________________________________________
When shrinking a memory block by a size of 4 or more bytes, the realloc
function overwrites the first 2 bytes of the block.
I have been able to fix it for me by removing lines 75 and 77 from the
realloc.c file. But I am not to sure, if I haven't broken anything else by
doing that.
==============================================================================
This item URL is:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11684>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/