[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin-patches
Subject:    Re: XP crash (OT)
From:       Christopher Faylor <cgf-no-personal-reply-please () cygwin ! com>
Date:       2004-06-04 16:20:57
Message-ID: 20040604162057.GA3301 () coe ! casa ! cgf ! cx
[Download RAW message or body]

On Fri, Jun 04, 2004 at 01:50:21AM -0400, David Fritz wrote:
>Christopher Faylor wrote:
>>On Thu, Jun 03, 2004 at 07:11:20PM -0400, David Fritz wrote:
>>
>>>Christopher Faylor wrote:
>>>
>>>[...]
>>>
>>>>>Interestingly enough, I just added some checking to fhandler_base::open 
>>>>>which
>>>>>used RtlIsDosDeviceName_U.  It caused a reboot of my XP system every 
>>>>>time
>>>>>I tried it.  That's a first for XP.
>>>>
>>>>
>>>>Oops.  No, that was the result of passing garbage to
>>>>InitializeObjectAttributes apparently.  Seems like a pretty serious XP
>>>>bug regardless.
>>>
>>>[...]
>>>
>>>Are you sure?  InitializeObjectAttributes() is a macro.
>>>
>>>How was the garbage being passed?
>
>I ask because I'm interested.  NT showstoppers deserve a little research if 
>you have the time (I do).  So if you remember the specifics, I'd be 
>interested.  If not, thanks anyway.

In fhandler_base::open I just accidentally nuked the call to
pc.get_nt_native_path and ended up passing the random contents of upath
and wpath to (I suppose) NtCreateFile.  *boom*

cgf
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic