
Device variable can overflow, or be unterminated. Replace strcpy by strncpy and be sure that the string is terminated (sizeof() - 1).
Device variable can overflow, or be unterminated. Replace strcpy by strncpy and be sure that the string is terminated (sizeof() - 1).