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

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Mon 18 Jan 2010 05:00:35 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  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>
Group administrator
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
one.
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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-758e.
    Corresponding source code