mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
- Correctly set Irp->IoStatus.Information when handling IOCTL_BOOTVID_INITIALIZE request. This fixes the occasional page faults during bugchecks when NTOSKRNL:InbvResetDisplay tried to call function pointed by uninitialized variable.
svn path=/trunk/; revision=9645
This commit is contained in:
parent
a51ef0df37
commit
869566fc97
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id: bootvid.c,v 1.11 2004/05/22 12:23:12 navaraf Exp $
|
||||
* $Id: bootvid.c,v 1.12 2004/06/08 19:31:10 navaraf Exp $
|
||||
*/
|
||||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
@ -605,6 +605,7 @@ VidDispatch(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
|
|||
FunctionTable = (NTBOOTVID_FUNCTION_TABLE *)
|
||||
Irp->AssociatedIrp.SystemBuffer;
|
||||
FunctionTable->ResetDisplay = VidResetDisplay;
|
||||
Irp->IoStatus.Information = sizeof(NTBOOTVID_FUNCTION_TABLE);
|
||||
break;
|
||||
|
||||
case IOCTL_BOOTVID_CLEANUP:
|
||||
|
|
Loading…
Reference in a new issue