diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5bc839582..03b71fe95 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2009-08-04 Christopher Faylor + + * path.cc (patch_conv::check): Zero path before setting it. + 2009-08-04 Christopher Faylor * fhandler_socket.cc (fhandler_socket::send_internal): Just use wmem diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 35a032b51..40aaf4498 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -165,8 +165,9 @@ class path_conv const suffix_info *suffixes = NULL) __attribute__ ((regparm(3))); path_conv (const device& in_dev) - : fileattr (INVALID_FILE_ATTRIBUTES), wide_path (NULL), path_flags (0), - known_suffix (NULL), normalized_path (NULL), error (0), dev (in_dev) + : fileattr (INVALID_FILE_ATTRIBUTES), wide_path (NULL), path (NULL), + path_flags (0), known_suffix (NULL), normalized_path (NULL), error (0), + dev (in_dev) { set_path (in_dev.native); }