Fixed rather large fail using strncpy with strlen (of source) as size argument