Details
-
Sub-task
-
Resolution: Fixed
-
Major
-
None
Description
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.