Fixed strncpy buffer overflow
Merge pull request #2 from rfb/master

Fixed strncpy buffer overflow