This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog fhandler_socket.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 7 Mar 2013 11:04:28 -0000
- Subject: src/winsup/cygwin ChangeLog fhandler_socket.cc
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