| commit | f95631463852b5dd7c85d51bb32ac43bc6f1fd5f | [log] [tgz] |
|---|---|---|
| author | Matt Wagantall <mattw@codeaurora.org> | Thu Nov 10 19:04:51 2011 -0800 |
| committer | Matt Wagantall <mattw@codeaurora.org> | Fri Nov 11 14:50:58 2011 -0800 |
| tree | 306b827a272b87b723d60c5684c6a0840203b404 | |
| parent | 9a4cbbdf327b4277d4941973f7313f9f6e0e3f43 [diff] |
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: Matt Wagantall <mattw@codeaurora.org>