[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #17922] mem_malloc bug

From: Jonathan Larmour
Subject: [lwip-devel] [bug #17922] mem_malloc bug
Date: Tue, 08 May 2007 09:08:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060513 Fedora/1.0.8-1.1.fc3.1.legacy Firefox/1.0.8

Follow-up Comment #23, bug #17922 (project lwip):

re the patch: I have no reason to doubt it works. Silence is silent agreement

Re mem_alloc checking for growing memory... While it seems plausible (ditto a
check for illegal memory further up), the only user of mem_realloc is
pbuf_realloc, and it doesn't check the return value at all. But then
pbuf_realloc does its own check that the space doesn't grow.

Maybe an assert would be better then, just to cover that base, as clearly in
the current code it should never happen.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]