From 7f01964f06effba5278ce060ebf55b7e080c59a8 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 5 Aug 2009 03:18:48 +0000 Subject: * path.cc (patch_conv::check): Zero path before setting it. --- winsup/cygwin/path.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/path.h') 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); } -- cgit v1.2.3