This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: XP crash (OT)
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