Security fix
SPR# LOMI6ACHRJ - Fixed the incorrect use of Cstrncpy which caused an IMAP server crash. Last Modified on 12/08/2013