public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
* cygwin_create_path causes null pointer crashes
@ 2016-12-10  2:03 Thomas Wolff
  2016-12-11 11:08 ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Wolff @ 2016-12-10  2:03 UTC (permalink / raw)
  To: cygwin-developers

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-14 20:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-10  2:03 cygwin_create_path causes null pointer crashes Thomas Wolff
2016-12-11 11:08 ` Corinna Vinschen
2016-12-12 19:28   ` Thomas Wolff
2016-12-13 11:57     ` Corinna Vinschen
2016-12-14 20:25       ` Thomas Wolff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).