Ignore:
Timestamp:
Jan 28, 2011, 5:49:35 PM (15 years ago)
Author:
dmik
Message:

kernel32: Debug output of GetFullPathNameA() could crash the process.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/Fileio.cpp

    r21549 r21566  
    861861        dprintf(("KERNEL32: GetFullPathName returns %d (needs a bgger buffer)", rc));
    862862    } else if (rc > 0) {
    863         dprintf(("KERNEL32: GetFullPathName returns %d (%s,%s)", lpBuffer, *lpFilePart));
     863        dprintf(("KERNEL32: GetFullPathName returns %d (%s,%s)", rc, lpBuffer,
     864                 lpFilePart ? *lpFilePart : NULL));
    864865    }
    865866#endif
Note: See TracChangeset for help on using the changeset viewer.