[Bug 4488] MSYS binaries dont quite work, like mkdir in example
http://bugs.winehq.org/show_bug.cgi?id=4488 ------- Additional Comments From makomk(a)lycos.co.uk 2006-23-04 13:32 ------- Seems to be a null pointer dereference in src/winsup/cygwin/uinfo.cc:internal_getlogin(). Specifically, it looks to be due to NetUserGetInfo(NULL, wuser, 3, (LPBYTE *)&ui) - as the last FIXME before the exception states, this is not implemented by Wine, however it returns success anyway. Because of this, MSYS attempts to do: sys_wcstombs (buf, ui->usri3_home_dir, MAX_PATH); where ui is still a NULL pointer (since NetUserGetInfo hasn't initialised it to anything). As you might expect, this crashes the program. I'm not sure why NetUserGetInfo returns success in this case; seems very odd. Incidentally, the code in question appears to be run only on NT-type systems, which might be why Dan Kegel has tried MSYS and hasn't encountered this bug (http://www.winehq.org/pipermail/wine-devel/2006-March/045688.html). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs