5874eb5151
use strncpy instead of strcpy
Co-authored-by: Oosman Saeed <oossaeed@amd.com>
[ROCm/amdsmi commit: 945e4a159c]