Fixed strncpy vulnerability
Merge branch 'master' into pass863