Skip to content
Commit 41ef7695 authored by Abdellatif El Khlifi's avatar Abdellatif El Khlifi Committed by Rui Miguel Silva
Browse files

openamp: fixing buffer overflow in rpmsg_init_ept function



GCC detects that in the rpmsg_init_ept function ept->name
string NULL character may be overriden by strncpy.
This could cause a buffer overflow (stringop-truncation warning).

This commit fixes this issue.

Change-Id: I74a890589e63d5c192cd8ac597f51b3d80a2dc39
Signed-off-by: Lakshmi Kailasanathan's avatarLakshmi Kailasanathan <lakshmi.kailasanathan@arm.com>
Signed-off-by: Abdellatif El Khlifi's avatarAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
parent 211f6428
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment