-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.12.2
-
Component/s: None
-
Labels:
-
Environment:
Linux
-
Tests Type:Untestable
-
Sprint:DEV-2013/10/03
-
Affect Type:Userdefined
I just ran the static analysis checker "cppcheck" over the source
code of ugene-1.12.2
It said many things, including
1.
[src/muscle/muscle_context.cpp:558]: (warning) memset() called to fill 0 bytes of 'str'.
Source code is
memset(str, 4096, '\0');
I think
memset(str, '\0', 4096);
might be better.