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/dev16/vprntf16.c

    r4164 r4773  
    1 /* $Id: vprntf16.c,v 1.3 2000-09-02 21:07:56 bird Exp $
     1/* $Id: vprntf16.c,v 1.4 2000-12-11 06:20:49 bird Exp $
    22 *
    33 * vprintf and printf - 16-bit.
     
    9393    const char *pszC = psz;
    9494
    95     while (*psz != '\0' && cchMax-- > 0)
     95    while (cchMax-- > 0 &&  *psz != '\0')
    9696        psz++;
    9797
Note: See TracChangeset for help on using the changeset viewer.