[mfc] fixed snprintf string lengths