diff options
| author | 2015-09-05 19:13:43 +0530 | |
|---|---|---|
| committer | 2015-09-12 18:24:53 -0700 | |
| commit | eb6a2dbf32a4ea2fa94f742f6494f661a807fb45 (patch) | |
| tree | 132bdd39824b67dd9b0638fc5a8c0080c27675e9 /scripts | |
| parent | Staging: rtl8192e: rtl_wx.c: Remove braces for single statement blocks (diff) | |
staging: fbtft: use strncpy instead of strcpy
Using strcpy() is a security risk as the destination buffer size is not
checked and we may over-run the buffer. Use strncpy() instead, while
mentioning the buffer size leaving place for the NULL termination.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
