|
From: | Marc Chaland |
Subject: | [lwip-devel] [patch #6369] ip_input : checking before realloc |
Date: | Fri, 11 Jan 2008 13:24:45 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 |
URL: <http://savannah.nongnu.org/patch/?6369> Summary: ip_input : checking before realloc Project: lwIP - A Lightweight TCP/IP stack Submitted by: chaland Submitted on: vendredi 11.01.2008 à 13:24 Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: If length specified into IP header is to big at input, pbuf_realloc crashes. To prevent this, I propose to add a check before pbuf_realloc : length specified into IP header should be less or equal than pbuf tot_len. Else packet is rejected. Regards Marc _______________________________________________________ File Attachments: ------------------------------------------------------- Date: vendredi 11.01.2008 à 13:24 Name: ip.c.r1.65.diff Size: 634 o By: chaland <http://savannah.nongnu.org/patch/download.php?file_id=14782> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?6369> _______________________________________________ Message posté via/par Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |