mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-10-02 18:23:21 +08:00
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>