XP crash (OT)

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Fri Jun 4 16:21:00 GMT 2004

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 
>>>>>used RtlIsDosDeviceName_U.  It caused a reboot of my XP system every 
>>>>>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*


More information about the Cygwin-patches mailing list