Changeset 8740 for trunk/src


Ignore:
Timestamp:
Jun 21, 2002, 2:56:05 AM (23 years ago)
Author:
bird
Message:

Paranoia fix to prevent crash on my machine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/dev32/d32init.c

    r6278 r8740  
    1 /* $Id: d32init.c,v 1.41 2001-07-10 05:18:04 bird Exp $
     1/* $Id: d32init.c,v 1.42 2002-06-21 00:56:05 bird Exp $
    22 *
    33 * d32init.c - 32-bits init routines.
     
    757757{
    758758    int cb = -3;
     759
     760    /*
     761     * Something else must be wrong, but this is where we crash.
     762     * TODO: make a real fix for this!
     763     */
     764    if (pach >= 0xffff0000 || pach <= 0x10000)
     765    {
     766        kprintf(("interpretFunctionProlog32: Bad address! pach=0x%08x\n", pach));
     767        return 0;
     768    }
    759769    kprintf2(("interpretFunctionProlog32(0x%08x, %d):\n"
    760770              "\t%02x %02x %02x %02x - %02x %02x %02x %02x\n"
Note: See TracChangeset for help on using the changeset viewer.