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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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
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>
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
  • -unavailable- added by goldsimon (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 18 Jan 2010 05:45:53 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1