Commit f9563146 authored by Matt Wagantall's avatar Matt Wagantall
Browse files

msm: ramdump: Replace strncpy() and strncat() with a safer alternative



Using snprintf() is safer than the previous implementation since
it leaves room for a NUL character at the end of the destination
string and cannot overflow it.

Change-Id: I6041fecdf9303dcafe741c4520581a1434bb8b01
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 9a4cbbdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment