Just checked in a major change to cygwin

Egor Duda deo@logos-m.ru
Mon Sep 4 00:51:00 GMT 2000


Hi!

Sunday, 03 September, 2000 Chris Faylor cgf@cygnus.com wrote:

CF> For the last several weeks, I've been working on giving cygwin it's own
CF> "heap".  I use this heap to allocate memory that should be common to a
CF> process's children.  This was one of the things that I desperately wanted
CF> copy-on-write for but I ended up implementing my own crude version instead.

stat("f:\\tmp\\bla-bla",...)   causes   exception   with  your  latest
changes.

in this line (path.cc:1025)

rc = normalize_win32_path (cwd_win32 (TMPCWD), src_path, dst);

alloca()  is  called  after  src_path  and dst are put on stack. patch
attached.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
win32-path-crash.ChangeLog
win32-path-crash.diff

-------------- next part --------------
2000-09-04  Egor Duda  <deo@logos-m.ru>

	* path.cc (mount_info::conv_to_win32_path): Fix crash when
	given path is already in win32 one.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32-path-crash.diff
Type: text/x-diff
Size: 1164 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20000904/636dd4fe/attachment.bin>


More information about the Cygwin-patches mailing list