Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: 845a17b69ff67958c35760e376ecc3b7762e89d8 https://github.com/OpenAMP/open-amp/commit/845a17b69ff67958c35760e376ecc3b77... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2024-10-25 (Fri, 25 Oct 2024)
Changed paths: M lib/include/openamp/rpmsg.h M lib/rpmsg/rpmsg.c
Log Message: ----------- lib: rpmsg: Fix safe_strcpy call
Fix the size of the source string passed in argument of safe_strcpy(). In rpmsg_create_ept we can not trust the size of the name string provided, so we limit the max size to RPMSG_NAME_SIZE.
Update the rpmsg_create_ept documentation to clarify the limit
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Commit: 71887e71dfe0d5f5dfab0b989c9ff1829958f3a3 https://github.com/OpenAMP/open-amp/commit/71887e71dfe0d5f5dfab0b989c9ff1829... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2024-10-25 (Fri, 25 Oct 2024)
Changed paths: M lib/include/openamp/remoteproc.h M lib/remoteproc/remoteproc.c
Log Message: ----------- lib: remoteprocrpmsg: Fix safe_strcpy call
Fix the size of the source string passed in argument of safe_strcpy(). In rpmsg_register_endpoint we can not trust the size of the name string provided, so we limit the max size to RPROC_MAX_NAME_LEN.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Compare: https://github.com/OpenAMP/open-amp/compare/2a93d20f2129...71887e71dfe0
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
openamp-rp@lists.openampproject.org