src/winsup/cygwin ChangeLog fhandler_socket.cc

corinna@cygwin.com corinna@cygwin.com
Thu Mar 7 11:04:00 GMT 2013


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2013-03-07 11:04:28

Modified files:
	winsup/cygwin  : ChangeLog fhandler_socket.cc 

Log message:
	* fhandler_socket.cc (fhandler_socket::bind): Fix check for AF_LOCAL
	filename length to allow non-NUL terminated strings within namelen
	bytes.  Copy over sun_path to local array sun_path to have a
	NUL-terminated string for subsequent function calls.  Move path_conv
	check before OS bind call to not bind the socket before being sure
	the file doesn't exist.  Add and fix comments.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6072&r2=1.6073
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_socket.cc.diff?cvsroot=src&r1=1.296&r2=1.297



More information about the Cygwin-cvs mailing list