cygwin_create_path causes null pointer crashes

Thomas Wolff towo@towo.net
Sat Dec 10 02:03:00 GMT 2016


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



More information about the Cygwin-developers mailing list