lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #28519] lwip_recvfrom bug with len > 65535


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #28519] lwip_recvfrom bug with len > 65535
Date: Sat, 09 Jan 2010 12:28:35 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6

Follow-up Comment #6, bug #28519 (project lwip):

> int and size_t could in theory be different.

But since the return value is int, too, I think it's enough to calculate in
int instead of size_t: if the result is too big for int, it will get corrupted
when returned, anyway.

> Could size_t be a poor choice for some platforms?

It might, but so far, we chose to keep the function definitions according to
the standard (as available on www.opengroup.org).

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28519>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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