title: strncpy doesn't always null-terminate
body: <p>I am using the code below:</p>
  
  <pre><code>char filename[ 255 ];
  strncpy( filename, getenv( "HOME" ), 235 );
  strncat( filename, "/.config/stationlist.xml", 255 );
  </code></pre>
  
  <p>Get this message:</p>
  
  <pre><code>(warning) Dangerous usage of strncat - 3rd parameter is the maximum number of characters to append.
  (error) Dangerous usage of 'filename' (strncpy doesn't always null-terminate it).
  </code></pre>