[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc fail
From: |
Jared Grubb |
Subject: |
[lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure |
Date: |
Fri, 13 Jul 2007 18:41:17 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
Follow-up Comment #3, bug #20478 (project lwip):
One of the comments is not correct, I think. You wrote:
> create a linked list of memp elements, marking the first element in the
pool to be NULL, to allow us to detect pool exhaustion
If there are no elements for table i, then the memp_tab[i]=NULL. Otherwise,
the for(j) loop runs, and memp_tab[i] points to a linked list of elements of
size (MEMP_SIZE+memp_sizes[i]), where the last element in the list has its
"next" set to NULL.
Otherwise, more comments are always good!
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20478>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Thomas Taranowski, 2007/07/13
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Jared Grubb, 2007/07/13
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Thomas Taranowski, 2007/07/13
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure,
Jared Grubb <=
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Thomas Taranowski, 2007/07/13
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Jared Grubb, 2007/07/13
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Frédéric Bernon, 2007/07/13
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Jared Grubb, 2007/07/13
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Simon Goldschmidt, 2007/07/14
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Frédéric Bernon, 2007/07/14
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Jared Grubb, 2007/07/14
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Frédéric Bernon, 2007/07/14
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Simon Goldschmidt, 2007/07/14
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Simon Goldschmidt, 2007/07/14