This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin / MSYS2 runtime fails on Wine beause of accessing to (*ReferencedDomains)->Domains[-1]
- From: Qian Hong <fracting at gmail dot com>
- To: cygwin <cygwin at cygwin dot com>
- Date: Wed, 1 Apr 2015 22:33:05 +0800
- Subject: Re: Cygwin / MSYS2 runtime fails on Wine beause of accessing to (*ReferencedDomains)->Domains[-1]
- Authentication-results: sourceware.org; auth=none
- References: <CALd+sZQu4496pEW-B9eCsS-EC426uSgieh9cjECe5reBW52GQQ at mail dot gmail dot com> <20150401103733 dot GA4835 at calimero dot vinschen dot de> <CALd+sZQaBX1aioKZkt2uNGGgPUJN+i=ZLEr9ipO9iC7V_1CRSg at mail dot gmail dot com> <20150401113620 dot GA11571 at calimero dot vinschen dot de> <20150401122206 dot GA5725 at calimero dot vinschen dot de> <CALd+sZSrpWp8O+MTVSVaiNYupSnjLr2_uGz=9Bxp-zjqjkEhgw at mail dot gmail dot com> <20150401134554 dot GW13285 at calimero dot vinschen dot de>
- Reply-to: fracting at gmail dot com
Hi Corinna,
On Wed, Apr 1, 2015 at 9:45 PM, Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
> That's a crash in wcsncpy. Where's the NULL pointer coming from?
> The pointer I created for the domain name points to an empty
> unicode string, it's not NULL.
>
> Oh, hang on.
>
> On Windows, the name part of the logon sid is the login sid as
> a string. So, if the login sid is S-1-5-5-0-1234, the name of the
> sid is L"S-1-5-5-0-1234".
>
> Is it possible that Wine doesn't reflect that?
Thanks for the hints, very useful. My previous patch actually
fixed(hacked) two independent issue in Wine, sorry for not mention
about it, I just forgot. Now Cygwin fixed one, the remain one seems
like a Wine bug, nothing to do with Cygwin. With the second issue
fixed(hacked) in Wine, Cygwin is happy now. I'll investigate the
second issue deeper, maybe your hints is exactly the reason.
Thank you very much for the help!
--
Regards,
Qian Hong
-
http://www.winehq.org
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple