mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-20 09:03:24 +00:00
Compilation warnign fixes and various boundary checks
This commit is contained in:
parent
63e97ef2ae
commit
f95b4cdd85
9 changed files with 44 additions and 34 deletions
|
|
@ -37,7 +37,7 @@ CustomFlowLuaScript::CustomFlowLuaScript()
|
|||
/* ***************************************************** */
|
||||
|
||||
LuaEngine *CustomFlowLuaScript::initVM(const char *script_path) {
|
||||
char where[256];
|
||||
char where[512];
|
||||
struct stat s;
|
||||
|
||||
snprintf(where, sizeof(where), "%s/%s", ntop->get_install_dir(), script_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue