|
From: | 許胤堯 |
Subject: | [lwip-devel] Pbuf bug fix |
Date: | Mon, 7 Mar 2005 11:57:24 +0800 |
Dear all… Pbuf_alloc(
) in Pbuf.c --> original code Pbuf_pool
case: p->len = length > PBUF_POOL_BUFSIZE - offset?
PBUF_POOL_BUFSIZE - offset: length; Must be modified to --> p->len = length >
(PBUF_POOL_BUFSIZE - offset - (sizeof(struct pbuf)))? (PBUF_POOL_BUFSIZE - offset - (sizeof(struct
pbuf))): length; ========================================== Zydas Corporation Yin-Yao Hsu RD Division 2F,No.15,Industry E.RD.IV, Tel-886-3-5773309 Ext-624 Fax-886-3-5773767 =========================================== |
[Prev in Thread] | Current Thread | [Next in Thread] |