Fix: OOB(linear buffer overflow) write fixed

This commit is contained in:
binophism 2024-12-25 21:35:17 +03:30
parent 0ef4883630
commit f77e99001b
7 changed files with 38 additions and 27 deletions

View file

@ -172,10 +172,10 @@ ScriptEngineCreateSymbolTableForDisassemblerWrapper(void * CallbackFunction)
* @return BOOLEAN
*/
BOOLEAN
ScriptEngineConvertFileToPdbPathWrapper(const char * LocalFilePath, char * ResultPath)
ScriptEngineConvertFileToPdbPathWrapper(const char * LocalFilePath, char * ResultPath, size_t ResultPathSize)
{
return ScriptEngineConvertFileToPdbPath(LocalFilePath, ResultPath);
return ScriptEngineConvertFileToPdbPath(LocalFilePath, ResultPath, ResultPathSize);
}
/**