[Spread-users] Bug in SP_connect_timeout?

John Lane Schultz jschultz at spreadconcepts.com
Thu Dec 8 08:02:34 EST 2016


Thank you for the report.  We will look into this.


John Lane Schultz
Spread Concepts LLC
Cell: 443 838 2200

On Dec 6, 2016, at 7:10 AM, Jan Moringen <jmoringe at techfak.uni-bielefeld.de> wrote:


I think I have found a small bug in SP_connect_timeout: after receiving
the length of the authentication method list, the following code is
executed to receive the list itself:

   ret = recv_nointr_timeout( s, auth_list, auth_list_len, 0, &time_out);

This works most of the time, but in my use-case, the authentication
method list was broken up into multiple frames, resulting in this call
receiving less than auth_list_len octets. Since ret is checked for
errors but not short reads, the connection attempt failed.

Kind regards,

Spread-users mailing list
Spread-users at lists.spread.org

More information about the Spread-users mailing list