On Wed, 14 Dec 2022 11:17:41 +0800 lixiaokeng <lixiaokeng@xxxxxxxxxx> wrote: > strcpy(st->devnm, devnm); Hi, Please use strncpy or snprintf here. Thanks, Mariusz
On Wed, 14 Dec 2022 11:17:41 +0800 lixiaokeng <lixiaokeng@xxxxxxxxxx> wrote: > strcpy(st->devnm, devnm); Hi, Please use strncpy or snprintf here. Thanks, Mariusz