Closed wyr-7 closed 1 month ago
CC: open-amp/lib/rpmsg/rpmsg_virtio.c open-amp/lib/remoteproc/remoteproc.c: In function 'remoteproc_init_mem': open-amp/lib/remoteproc/remoteproc.c:309:17: error: 'strncpy' specified bound 32 equals destination size [-Werror=stringop-truncation] 309 | strncpy(mem->name, name, sizeof(mem->name));
This is not a proper fix. FYI I just submitted one that takes care of all the occurences: https://github.com/OpenAMP/open-amp/pull/618
see also https://github.com/OpenAMP/open-amp/pull/602/
could close this pr too.
CC: open-amp/lib/rpmsg/rpmsg_virtio.c open-amp/lib/remoteproc/remoteproc.c: In function 'remoteproc_init_mem': open-amp/lib/remoteproc/remoteproc.c:309:17: error: 'strncpy' specified bound 32 equals destination size [-Werror=stringop-truncation] 309 | strncpy(mem->name, name, sizeof(mem->name));