[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: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure |
Date: |
Sat, 14 Jul 2007 08:43:42 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
Follow-up Comment #8, bug #20478 (project lwip):
I don't know about the fix:
This bug only appears if MEMP_OVERFLOW_CHECK=1. With the current patch, we
always have an 'if' statement (..?..:..) at the end of memp_malloc, which is
not necessary for MEMP_OVERFLOW_CHECK=0.
But then again, good compilers might optimize that away since it gets
return memp:?memp:NULL;
for MEMP_OVERFLOW_CHECK=0, which should be pretty easy to optimize, shouldn't
it?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20478>
_______________________________________________
Nachricht geschickt von/durch 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, 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, 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 <=
- [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
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Jared Grubb, 2007/07/15
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Frédéric Bernon, 2007/07/15
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Jared Grubb, 2007/07/15
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Simon Goldschmidt, 2007/07/16
- [lwip-devel] [bug #20478] memp_malloc returns bogus value on malloc failure, Frédéric Bernon, 2007/07/16