cygwin_create_path causes null pointer crashes

Corinna Vinschen corinna-cygwin@cygwin.com
Sun Dec 11 11:08:00 GMT 2016


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 == 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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20161211/0f08477a/attachment.sig>


More information about the Cygwin-developers mailing list