[Bug 34211] strncpy C library function doesn't compliant C standard.