Commit [9d17f7] Maximize Restore History

make SOCKET-RECEIVE work correctly when receiving overly-long UDP packets

Only copy as much data as the provided buffer can hold. Continue to return
the length provided from recvfrom as per documentation.

Fixes lp#1023438. Thanks to Robert Uhl for the fix.

Nathan Froyd Nathan Froyd 2012-09-05

changed contrib/sb-bsd-sockets/sockets.lisp
changed NEWS
contrib/sb-bsd-sockets/sockets.lisp Diff Switch to side-by-side view
Loading...
NEWS Diff Switch to side-by-side view
Loading...