-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Fix Version/s: 0.4.0
-
Component/s: Applications
-
Labels:None
-
Module:
CPPCHECK: base\applications\notepad\main.c 518 error Dangerous usage of 'buf' (strncpy doesn't always null-terminate it).
here strncpy is used to copy a string and later strcat is used on it, which relies on the source string being null terminated.