buglwIP - A Lightweight TCP/IP stack - Bugs: bug #28679, mem_realloc calculates mem_stats...


You are not allowed to post comments on this tracker with your current authentication level.

bug #28679: mem_realloc calculates mem_stats wrong

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Mon 18 Jan 2010 05:00:35 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Simon Goldschmidt <goldsimon>
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Mon 18 Jan 2010 05:45:53 PM UTC, comment #1: 

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 18 Jan 2010 05:00:35 PM UTC, original submission:  

On jan 18th 2010, kanprin wrote on lwip-users:

in mem.c line 414:MEM_STATS_DEC_USED(used, (size - newsize));
the decrease shoud be done for the first two cases,but not for the third
so MEM_STATS_DEC_USED(used, (size - newsize)); shoud be pleased at line 441
and 462

line numbers seem to be v1.3.2...

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by goldsimon (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-18 goldsimon StatusNone => Fixed
        Assigned toNone => goldsimon
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5