[Spread-users] Bug in SP_connect_timeout?

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


Jan,

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

Cheers!

-----
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:

Hi,

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,
Jan

_______________________________________________
Spread-users mailing list
Spread-users at lists.spread.org
http://lists.spread.org/mailman/listinfo/spread-users




More information about the Spread-users mailing list