What is a Conditionally Uninitialized Variable? The return value of a function that is potentially used to initialize a local variable is not checked. Therefore, reading the local variable may result in undefined behavior.
1 instance of this defect were found in the following locations:
What is a Conditionally Uninitialized Variable? The return value of a function that is potentially used to initialize a local variable is not checked. Therefore, reading the local variable may result in undefined behavior.
1 instance of this defect were found in the following locations:
Instance 1 File :
src/libs/lua/lstrlib.c
Function:luaL_checklstring
https://github.com/sagpant/simpleai/blob/db3acd891f46f67ae70c271bf88a46e6e6b28b0f/src/libs/lua/lstrlib.c#L56 Issue in: lCode extract:
How can I fix it? Correct reference usage found in
src/libs/lua/lstrlib.c
at line1397
. https://github.com/sagpant/simpleai/blob/db3acd891f46f67ae70c271bf88a46e6e6b28b0f/src/libs/lua/lstrlib.c#L1397 Code extract: