[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #61126] ram_end write outside heap...
From: |
Dag Midling Larsen |
Subject: |
[lwip-devel] [bug #61126] ram_end write outside heap... |
Date: |
Wed, 8 Sep 2021 06:17:02 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.38 |
URL:
<https://savannah.nongnu.org/bugs/?61126>
Summary: ram_end write outside heap...
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: dml_sw
Submitted on: Wed 08 Sep 2021 10:17:01 AM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: Other
_______________________________________________________
Details:
Hi
LwIp version 2.1.2., mem.c, lines [530, 534]:
/* initialize the end of the heap */
ram_end = ptr_to_mem(MEM_SIZE_ALIGNED);
ram_end->used = 1;
ram_end->next = MEM_SIZE_ALIGNED;
ram_end->prev = MEM_SIZE_ALIGNED;
These lines writes 9 bytes beyond heap allocated by application.
Regards,
Dag
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?61126>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #61126] ram_end write outside heap...,
Dag Midling Larsen <=