From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77625 invoked by alias); 11 Dec 2016 11:08:17 -0000 Mailing-List: contact cygwin-developers-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com Received: (qmail 77568 invoked by uid 89); 11 Dec 2016 11:08:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=mails, Wolff, wolff, Hx-languages-length:647 X-HELO: drew.franken.de Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 11 Dec 2016 11:08:12 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 7146572106C13 for ; Sun, 11 Dec 2016 12:08:08 +0100 (CET) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id EAFDA5E01DC for ; Sun, 11 Dec 2016 12:08:06 +0100 (CET) Received: by calimero.vinschen.de (Postfix, from userid 500) id D1F77A80C35; Sun, 11 Dec 2016 12:08:06 +0100 (CET) Date: Sun, 11 Dec 2016 11:08:00 -0000 From: Corinna Vinschen To: cygwin-developers@cygwin.com Subject: Re: cygwin_create_path causes null pointer crashes Message-ID: <20161211110806.GA22664@calimero.vinschen.de> Reply-To: cygwin-developers@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com References: <4cdcdf06-6018-0854-002f-8ca92a2b3698@towo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <4cdcdf06-6018-0854-002f-8ca92a2b3698@towo.net> User-Agent: Mutt/1.7.1 (2016-10-04) X-SW-Source: 2016-12/txt/msg00009.txt.bz2 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 637 Hi Thomas, On Dec 10 03:03, Thomas Wolff wrote: > cygwin_create_path is supposed to call malloc itself, > however, it occasionally returns with null and errno =3D=3D ENOSPC, > if it's provided with a network path, e.g. > cygwin_create_path(CCP_POSIX_TO_WIN_W, "/cygdrive/s/.config/mintty") > returns null in ~ 3 of 1000 cases, where /cygdrive/s exists but > /cygdrive/s/.config does not Did you try to debug and fix the issue? This is the developer's mailing list after all... Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYTTOWAAoJEPU2Bp2uRE+gP9EQAILCdK3USnUR6XZLAZ5w2+mS PY0W28si+FqvvCpvP2KgFdK62NvbHav4YlwYbGHsdMLx2TskM1SfL1fwdyfDCvgl z+oL5W2xiFLEolLYMDOlFAlSHY/CCr4jmd8i5DDt5/D/4S5GAVI8uRfKVIODXrbN 2AMv00UTHSYaZTvFHkUvMyzjAGCjYyiwW7iXWphM9GLOLyvDExFuXCi2jVntxB5T GRNp8p9Hm/jN0uorzO6Ev5S1UnJzyH5qwtje8G/ePqzi0g8m5Qv3RJueRq/7yVqS NVTxONOa3JoMo7Z7w0zgD8Do3EkWwN5iRKRxKb4E4jQAwgijGmbg66XaYJvOArh/ 6OGvByaD0tHYxwvzjPeiw/VJ5KdjXxTRfve1qted41yOyTVVtK8xAwSNtAUmUfaA rcoJH3+pQPZ/Oz4JxPzoPzrO5hf6Swy5YPP+J4MtVEaVgh4M07TkyILAkF5UrcAF IRSzWtzGjnaNQy6zHN+t7isCGqIXJK3362B5MOJIREm3mmF2s+7o4DJkdyQxEySF 21MuFOOms67uuYpktxYbdXP8oD/c3xOVfIZ/sZIPZz5f4QKnjmT+F6jSgX+GEnvU j2zjSztNVIq1I5YBGFYTkqcqiIDS48Jo2JDUd2wL1Sm3lFV1ZVyrgO04/TgrL4UO KMkWr60+vPYLBaA/pj+C =CTF/ -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--