-
-
OD Buffer空间 bug
-
发表于:
2005-5-17 12:49
4278
-
大部需要申请内存空间的api都有bug
DWORD SearchPath(
LPCTSTR lpPath, // address of search path
LPCTSTR lpFileName, // address of filename
LPCTSTR lpExtension, // address of extension
DWORD nBufferLength, // size, in characters, of buffer == push 104
LPTSTR lpBuffer, // address of buffer for found filename
LPTSTR *lpFilePart // address of pointer to file component
);
申请的Buffer空间最多260 Byte
相关的API
MultiByteToWideChar
DragQueryFileA
GetSystemDirectoryA
GetModuleFileNameA
GetPrivateProfileStringA
...
等等以及od一些内存申请也存在
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课