patchlwIP - A Lightweight TCP/IP stack - Patches: patch #5146, Handle allocation failures in...

 
 

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

patch #5146: Handle allocation failures in accept_function()

Submitter:  None
Submitted:  Wed 31 May 2006 09:59:34 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed Planned Release:  None

Wed 14 Jun 2006 08:21:51 AM UTC, comment #1: 

Accepted patch.

Christiaan Simons <christiaans>
Group Member
Wed 31 May 2006 09:59:34 AM UTC, original submission:  

The attached patch fixes a problem in accept_function().

It previously set up the PCB too early. If any of the sys_mbox_new() or sys_sem_new() calls failed, the function would exit half-configured. The patch moves this configuration down so that it is only performed if all allocations were successful.

Thanks,
Kelvin Lawson.

Anonymous

 

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

Attached Files
file #10088:  accept.patch added by None (999B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-06-14 christiaans Open/ClosedOpen Closed
2006-05-31 None Attached File- Added accept.patch, #10088

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code