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/vprintf.c

    r4164 r4773  
    1 /* $Id: vprintf.c,v 1.8 2000-09-02 21:08:15 bird Exp $
     1/* $Id: vprintf.c,v 1.9 2000-12-11 06:20:48 bird Exp $
    22 *
    33 * vprintf and printf
     
    105105    const char *pszC = psz;
    106106
    107     while (*psz != '\0' && cchMax-- > 0)
     107    while (cchMax-- > 0 &&  *psz != '\0')
    108108        psz++;
    109109
Note: See TracChangeset for help on using the changeset viewer.