lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/p


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state
Date: Fri, 20 Apr 2007 11:19:52 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #26, bug #19162 (project lwip):

To this general discussion: how do we go on with this? I think this is a big
bug regarding thread-safety (and speed).

In contrast to patch file #12448, I'd rather somehow include the struct
sockaddr, but that would include socket-structs in netconn-api so that would
be bad. In that case, we could stick to port==0 = send, port != 0 = sendto.

I did not test the patch in detail, maybe I can give some detailed comment on
it next week. But overall, I think it's going into the right direction
(although we should take care it doesn't slow down sends on connected sockets
too much).


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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