Changeset 2174


Ignore:
Timestamp:
Jul 3, 2005, 5:45:19 AM (20 years ago)
Author:
bird
Message:

Fixed buffer handling bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/sys/b_fsDirCurrentGet.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r2173 r2174  
    160160                pszSrc++;           /* root slash */
    161161            int cch = strlen(pszSrc) + 1;
    162             if (cch < cchPath)
     162            if (cch <= cchPath)
    163163            {
    164164                memcpy(pszPath, pszSrc, cch);
Note: See TracChangeset for help on using the changeset viewer.