SOPC_ToolkitConfig_SetLogPath does not copy its input string
Description
The function SOPC_ToolkitConfig_SetLogPath(logDirPath, ...)
does not copy its input string (and the documentation status that maxBytes is 1024 by default, but is in fact 1048576).
Analysis
This behavior is uncommon and may lead to freed memory access, or modified destination folder, if the caller does not store it, or stores it and modify it afterwards. It should be either documented or fixed.