Ignore:
Timestamp:
Dec 11, 2000, 7:20:49 AM (25 years ago)
Author:
bird
Message:

Corrected fatal error in _strnlen; Test length before accessing the
character point to. This resulted in a fatal Trap 000e when invoked on a
string ending at the page boundrary with an invalid page following.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/misc/vsprintf.c

    r1678 r4773  
    1 /* $Id: vsprintf.c,v 1.4 1999-11-10 01:45:37 bird Exp $
     1/* $Id: vsprintf.c,v 1.5 2000-12-11 06:20:49 bird Exp $
    22 *
    33 * vsprintf and sprintf
     
    7575    const char *pszC = psz;
    7676
    77     while (*psz != '\0' && cchMax-- > 0)
     77    while (cchMax-- > 0 &&  *psz != '\0')
    7878        psz++;
    7979
Note: See TracChangeset for help on using the changeset viewer.