lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] Odd check in pbuf_alloced_custom (typo?)


From: Simon Goldschmidt
Subject: Re: [lwip-devel] Odd check in pbuf_alloced_custom (typo?)
Date: Wed, 24 Aug 2011 11:08:30 +0200

Mason <address@hidden> wrote:
> If payload_mem_len "must be at least big enough to hold 'length'
> plus the header size", then there is an error when
> 
> LWIP_MEM_ALIGN_SIZE(offset) + length > payload_mem_len
> 
> Is this just a typo, with the comparison operator reversed?

I guess so. Don't know how this can work for anyone, but it's rather new code, 
if I remember correctly.

I've filed a bug report.

Simon
-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone



reply via email to

[Prev in Thread] Current Thread [Next in Thread]