Re: setupapi: prevent page faults in SetupDiDeleteDeviceInterfaceRegKey

2008-03-31 Thread Christopher
[EMAIL PROTECTED] wrote: > Message: 4 Date: Sun, 30 Mar 2008 19:13:46 -0600 From: Vitaliy > Margolen <[EMAIL PROTECTED]> Subject: Re: setupapi: prevent page > faults in SetupDiDeleteDeviceInterfaceRegKey To: wine-devel@winehq.org > Message-ID: <[EMAIL PROTECTED]>

Re: setupapi: prevent page faults in SetupDiDeleteDeviceInterfaceRegKey

2008-03-30 Thread Vitaliy Margolen
Christopher wrote: > Changelog: > Check that the handle and pointer passed to > SetupDiDeleteDeviceInterfaceRegKey are valid to read from. This patch > continues to address bug #12242 > > -if (!DeviceInterfaceData || > +if (!DeviceInterfaceData || IsBadReadPtr(DeviceInterfaceData, > siz